CODBCStmt.SetPositionmethod
Sets the cursor position in a rowset.
Syntax
FUNCTION SetPosition (BYVAL wRow AS SQLSETPOSIROW) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
wRow | Position of the row in the rowset. |
Return value
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NEED_DATA, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Sets the cursor position in a rowset. Uses SQL_POSITION as the operation type and SQL_LOCK_NO_CHANGE as the lock type.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:697
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class