SQLFetchScroll function

Fetches the specified row from the result set and returns data for all bound columns, for UltraLite ODBC.

Syntax
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLFetchScroll (
SQLHSTMT StatementHandle,
SQLSMALLINT FetchOrientation,
SQLLEN FetchOffset );
Parameters
  • StatementHandle   A statement handle.

  • FetchOrientation   The type of fetch.

  • FetchOffset   The number of the row to fetch. The interpretation depends on the value of FetchOrientation.

Remarks

Before fetching rows, you must have bound the columns in the result set to buffers using SQLBindCol. SQLFetchScroll is for use in those cases where the more straightforward SQLFetch is not appropriate.

See also