CODBCStmt.SetStmtAppRowDescmethod
Sets the handle to the ARD for subsequent fetches on the statement handle.
Syntax
FUNCTION SetStmtAppRowDesc (BYVAL dwAttr AS SQLUINTEGER) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
dwAttr | Attribute value. |
Return value
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Sets the handle to the ARD for subsequent fetches on the statement handle. The initial value of this attribute is the descriptor implicitly allocated when the statement was initially allocated. If the value of this attribute is set to SQL_NULL_DESC or the handle originally allocated for the descriptor, an explicitly allocated ARD handle that was previously associated with the statement handle is dissociated from it and the statement handle reverts to the implicitly allocated ARD handle.
This attribute cannot be set to a descriptor handle that was implicitly allocated for another statement or to another descriptor handle that was implicitly set on the same statement; implicitly allocated descriptor handles cannot be associated with more than one statement or descriptor handle.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:1424
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class