Help Center

CODBCStmt.RefreshRecordmethod

Sets the cursor position in a rowset and allows to refresh data in the rowset.

DatabasesmethodCODBCStmt.incdocumented

Syntax

FUNCTION RefreshRecord (BYVAL wRow AS SQLSETPOSIROW = 1, BYVAL fLock AS SQLUSMALLINT = SQL_LOCK_NO_CHANGE) AS SQLRETURN

Parameters

NameDescription
wRowOptional. Row number inside the rowset.
fLockOptional. Lock type. SQL_LOCK_NO_CHANGE, SQL_LOCK_EXCLUSIVE, SQL_LOCK_UNLOCK

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 allows to refresh data in the rowset.

Reference

  • Include file CODBCStmt.inc
  • Defined in AfxNova/COdbcStmt.inc:721
  • Documented in Databases/ODBC Classes/CODBCStmt Class.md
  • Topic: CODBCStmt Class