vtc_query_column
Deprecated. Use lrvtc_query_column. Retrieves the data in a field.
C Language
VTCERR2 vtc_query_column ( PVCI2 pvci, char *columnName, int rowIndex, char **outValue );
C# Language
string vts_multi.query_column ( long pvci, string columnName, int rowIndex );
| Query Functions |
Arguments
| Name | Comments |
|---|---|
| pvci | The server connection handle. |
| columnName | The name of the column. |
| rowIndex | The number of the row. The first row has index 1. |
| outValue | The value of the field. |
vtc_query_column retrieves the data in a field.
If there is no data in a cell, the output is NULL.
After using the output value, free the output buffer with vtc_free.
Return Values
C Language: Returns zero on success or one of the Error Codes.
C# Language: Returns the value of the cell.
Parameterization
All string input arguments can be passed using standard parameterization.C Language Example
int rc = 0;
char *value = NULL;
rc = vtc_query_column(pvci, "Col1", 1, &value);
lr_output_message("Query Column 1 Result = %s",
value);
vtc_free(value);
C# Language Example

