Share this page

# TCA.vtcUpdateAllMessageIfequals

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

Equivalent method in VuGen VTS: lrvtc_update_all_message_ifequals

    TCA.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

A promise that is fulfilled with 0 if completed successfully.

## Example

Copy code

    TCA.vtcUpdateAllMessageIfequals("MyColumn1;MyColumn2;MyColumn3", "NewVal1", "OldVal1").then(function(result){
      TCA.done(result);
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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