GetColumnDataValue()


" "

short GetColumnDataValue(long QueryID, long Index )

Description

This function returns the data value for the column specified in Index for the current row of data. After calling this function, the Value property can be interrogated for the returned value. You use this function with FetchNextRowEx() to access the data in a single row of data.

Parameters

Name Description
QueryID The ID of the query, as returned from InitializeQuery() or InitializeStaticQuery().
Index The zero-based index of the data row to be retrieved.

Return Value

The return value will be zero, if successful and non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString() , GetLastErrorType() , GetLastSQLCode() , GetLastSQLError(), or GetLastSQLState() to get additional error information.

Related Tasks

FetchNextRowEx()
FetchNextRowsEx()