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 ( int pvci,  string columnName );
Global Functions


pvciThe server connection handle.
columnNameThe name of the column.
sizeThe 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.


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