Help Center

CODBCStmt.SetStmtFetchBookmarkPtrmethod

Sets a pointer that points to a binary bookmark value.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION SetStmtFetchBookmarkPtr (BYVAL dwAttr AS SQLUINTEGER) AS SQLRETURN

Parameters

NameDescription
dwAttrPointer to a binary bookmark value.

Return value

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

Description

Sets a pointer that points to a binary bookmark value. When FetchScroll is called with FetchOrientation equal to SQL_FETCH_BOOKMARK, the driver picks up the bookmark value from this field. This field defaults to a null pointer.

The value pointed to by this field is not used for delete by bookmark, update by bookmark, or fetch by bookmark operations in BulkOperations, which use bookmarks cached in rowset buffers.

Reference

  • Include file CODBCStmt.inc
  • Defined in AfxNova/COdbcStmt.inc:1462
  • Documented in Databases/ODBC Classes/CODBCStmt Class.md
  • Topic: CODBCStmt Class