lrvtc.columnSize

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

ExampleGlobal Functions

Syntax

lrvtc.columnSize ( columnname );

Arguments

nameComments
columnnameThe name of the column.

lrvtc.columnSize returns the number of fields that contain data in the specified column. An empty string ("") is considered data.

Return Values

The number of fields containing data in the column.

Parameterization

All string input arguments can be passed using standard parameterization.

Example

    var colsize;
    ...
    colsize = lrvtc.columnSize("C_ID");
    lr.logMessage("column size of C_ID="+ colsize);