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");   
})();