Share this page

# TC.vtcClearColumn

Clears all data in a column.

If the column 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_column

    TC.vtcClearColumn(colName, vtsName);

## Arguments

Name | Description
--- | ---
colName | (string) The name of 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 ()=>{
        await TC.vtcClearColumn('MyColumn1');
    })();

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: