OpenResultset Method LockType Argument, LockType Property Constants

These constants are used to determine how RDO manages concurrency on rdoResultset objects created with the OpenResultset method or the RemoteData control.

Constant Value Description
rdConcurReadOnly 1 (Default) Cursor is read-only. No updates are allowed.
rdConcurLock 2 Pessimistic concurrency. Cursor uses the lowest level of locking sufficient to ensure the row can be updated.
rdConcurRowVer 3 Optimistic concurrency based on row ID. Cursor compares row ID in old and new rows to determine if changes have been made since the row was last accessed.
rdConcurValues 4 Optimistic concurrency based on row values. Cursor compares data values in old and new rows to determine if changes have been made since the row was last accessed.
rdConcurBatch 5 Optimistic batch mode operation. Can only be used when CursorDriver is set to rdUseClientBatch.