![]() |
![]() |
|||||||||
|
Constant | Description |
adLockReadOnly |
(Default) Read-only, the data cannot be modified. |
adLockPessimistic |
Pessimistic locking, record by record. The provider does what is necessary to ensure successful editing of the records, usually by locking records at the data source immediately upon editing. |
adLockOptimistic |
Optimistic locking, record by record. The provider uses optimistic locking, locking records only when you call the Update method. |
adLockBatchOptimistic |
Optimistic batch updates. Required for batch update mode as opposed to immediate update mode. |
Remarks
Set the LockType property before opening a Recordset to specify what type of locking the provider should use when opening it. Read the property to return the type of locking in use on an open Recordset object. The LockType property is read/write when the Recordset is closed and read-only when it is open.Example
See the CursorType property example.Copyright © 2000 Chili!Soft