Share this page

# TC.vtcCreateColumn

Creates a column.

If a column of the same name already exists, the function does nothing.

Equivalent method in VuGen: lrvtc_create_column

    TC.vtcCreateColumn(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 ()=>{
        let ret = await TC.vtcCreateColumn('MyColumn4');
    })();

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: