TCA.vtcColumnSize

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

Equivalent method in VuGen VTS: lrvtc_column_size

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

Example

Copy code
TCA.vtcColumnSize("MyColumn","MyVts").then(function(result){
  TCA.done(result);
}).catch(function (error) {
  TCA.doneWithError(error);
});