Share this page

# 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);
    });

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: