CODBCStmt.SetStmtRowBindOffsetPtrmethod
Sets an SQLUINTEGER value that points to an offset added to pointers to change binding of column data.
Syntax
FUNCTION SetStmtRowBindOffsetPtr (BYVAL dwAttr AS SQLUINTEGER) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
dwAttr | Value of the attribute. |
Return value
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Sets 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:1848
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class