Share this page

# TC.vtcClearCell

Clears the data in a field. If the column or the row index specified in the argument does not exist, the step runs without returning an error and no data in the VTS is changed.

Equivalent method in VuGen: lrvtc_clear_message

    TC.vtcClearCell(colName, rowIndex, 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.
vtsName (Optional) | (string) The alias of the VTS server.

## Return value

0 if completed successfully. If unsuccessful, it throws an exception message.

## Example

Copy code

    TC.vtcClearCell("MyColumn",1,"MyVts");

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