Help Center

CODBCStmt.GetStmtRowBindOffsetPtrmethod

Gets an SQLUINTEGER value that points to an offset added to pointers to change binding of column data.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION GetStmtRowBindOffsetPtr () AS SQLUINTEGER

Return value

The offset pointer.

Result code (GetLastResult)

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

Description

Gets an SQLUINTEGER value that points to an offset added to pointers to change binding of column data. If this field is non-null, the driver dereferences the pointer, adds the dereferenced value to each of the deferred fields in the descriptor record (SQL_DESC_DATA_PTR, SQL_DESC_INDICATOR_PTR, and SQL_DESC_OCTET_LENGTH_PTR), and uses the new pointer values when binding. It is set to null by default.

Remarks

Setting this statement attribute sets the SQL_DESC_BIND_OFFSET_PTR field in the ARD header.

Reference

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