Share this page

# TC.vtcClearRow

Clears the values from all fields in a row.

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

Equivalent method in VuGen: lrvtc_clear_row

    TC.vtcClearRow(rowIndex, vtsName);

## Arguments

Name | Description
--- | ---
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

A promise that is fulfilled with 0 if completed successfully.

## Example

Copy code

    (async ()=>{
        let ret = await TC.vtcClearRow(1);
    })();

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: