CODBCStmt.LockRecordmethod
Sets the cursor position in a rowset and locks the record.
Syntax
FUNCTION LockRecord (BYVAL wRow AS SQLSETPOSIROW = 1) AS SQLRETURN
Parameters
| Name | Description | |
|---|---|---|
wRow | Optional. Row number inside 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 and locks the record.
Reference
- Include file
CODBCStmt.inc - Defined in AfxNova/COdbcStmt.inc:729
- Documented in Databases/ODBC Classes/CODBCStmt Class.md
- Topic: CODBCStmt Class