Share this page

# TCA.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 VTS: lrvtc_clear_column

    TCA.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. Upon failure, an exception is thrown.

## Example

Copy code

    TCA.vtcClearColumn("MyColumn","MyVts").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: