Share this page

# vtc_column_size

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

## C Language

    VTCERR2 vtc_column_size ( PVCI2 pvci,  char *columnName, int *size );

## C# Language

    int vts_multi.column_size ( long pvci,  string columnName );

Global Functions

## Arguments

Name | Comments
--- | ---
pvci | The server connection handle.
columnName | The name of the column.
size | The number of fields.

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

## Return Values

C Language: Returns zero on success or one of the Error Codes.

C# Language: Returns the number of fields.

## Parameterization

All string input arguments can be passed using standard parameterization.

## C Language Example

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

## C# Language Example

.NET Multiple Connection Example

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: