Share this page

# lrvtc_column_size

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

## C Language

    VTCERR2 lrvtc_column_size ( char *columnName );

## C# Language

    int vts.column_size ( string columnName );

## Java Language

    int Lrvtc.column_size ( string columnName );

Global Functions

## Arguments

Name | Comments
--- | ---
columnName | The name of the column.

lrvtc_column_size 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.

## C Language Example

Copy code

    int colsize;
        ...
        colsize = lrvtc_column_size("C_ID");
        lr_log_message("column size of C_ID=%d\n", colsize);

## C# Language Example

.NET Single Connection Example

## Java Language Example

Java Single Connection Example

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: