FetchNextRowEx()


" "

short FetchNextRowEx(long QueryID)

Description

This function fetches the next row of data from the database. You can use this function in environments that do not support VARIANT arrays, such as Microsoft Access 2.0. Use this function in conjunction with GetColumnValue() to retrieve the data in each column for the current row.

Parameters

Name Description
QueryID The ID of the query, as returned from InitializeQuery() or InitializeStaticQuery().

Return Value

The return value will be zero if successful or 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

FetchNextRow()
FetchNextRows()
FetchNextRowsEx()
Open()