Share this page

# TC.vtcColumnSize

Returns the number of fields that contain data in a column.

Equivalent method in VuGen: lrvtc_column_size

    TC.vtcColumnSize(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 the number of fields in the column, or 0 if the column does not exist.

## Example

Copy code

    (async ()=>{
        let colSize = await TC.vtcColumnSize("MyColumn1");
    })();

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: