Share this page

# TC.vtcUpdateAllMessageIfequals

Replaces a specific value inside a set of columns with a new value.

Equivalent method in VuGen: lrvtc_update_all_message_ifequals

    TC.vtcUpdateAllMessageIfequals(colNames, Message, Ifmessage, delimiter);

## Arguments

Name | Description
--- | ---
colNames | (string) The names of the columns. Column names are separated by the delimiter.
Message | (string) The new value.
Ifmessage | (string) The original value.
delimiter | (string) Delimiter to separate column names. Default: Semicolon (;).

## Return value

0 on success. Upon a failure, it throws an exception.

## Example

Copy code

    TC.vtcUpdateAllMessageIfequals("MyColumn1;MyColumn2;MyColumn3", "NewVal1", "OldVal1");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: