Share this page

# TC.vtcUpdateCell

Replaces the data in a field.

If the column name or index does not exist, the column and/or the cell referenced by the index is created, and the cell contents are set to the argument value.

Equivalent method in VuGen: lrvtc_update_message

    TC.vtcUpdateCell(colName, rowIndex, value, vtsName);

## Arguments

Name | Description
--- | ---
colName | (string) The name of the column.
rowIndex | (integer) The index number of the field. 1 is the first field in the column.
value | (string) The value.
vtsName (Optional) | (string) The alias of the VTS server.

## Return value

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

## Example

Copy code

    TC.vtcUpdateCell("MyColumn",1,"MyValue","MyVTS");

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: