CODBCStmt.SetStmtParamsProcessedPtrmethod
Sets an SQLUINTEGER record field that points to a buffer in which to return the number of sets of parameters that have been processed, including error sets.
Syntax
FUNCTION SetStmtParamsProcessedPtr (BYVAL dwAttr AS SQLUINTEGER) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
dwAttr | Value of the attribute. |
Return value
The pointer to the buffer.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Sets an SQLUINTEGER record field that points to a buffer in which to return the number of sets of parameters that have been processed, including error sets.
Remarks
Setting this statement attribute sets the SQL_DESC_ROWS_PROCESSED_PTR field in the IPD header.
If the call to ExecDirect or Execute that fills in the buffer pointed to by this attribute does not return SQL_SUCCESS or SQL_SUCCESS_WITH_INFO, the contents of the buffer are undefined.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:1770
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class