GetColumnLengths()


" "

short GetColumnLengths (long QueryID, VARIANT* Lengths)

Description

This function returns an array which contains the lengths of all the columns referenced in the specified query.

Parameters

Name Description
QueryID The ID of the query, as returned from InitializeQuery().
Lengths A pointer to a VARIANT in which you want to store the result array which contains the lengths of all the columns referenced in the specified query.

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() or GetLastErrorType() to get additional error information.