Professional Documents
Culture Documents
Applies To
Recordset
Constant Description
Remarks
Use the CursorType property to specify the type of cursor that should be
used when opening the Recordset object. The CursorType property is
read/write when the Recordset is closed and read-only when it is open.
If a provider does not support the requested cursor type, the provider may
return another cursor type. The CursorType property will change to match
the actual cursor type in use when the Recordset object is open. To verify
specific functionality of the returned cursor, use the Supports method. After
you close the Recordset, the CursorType property reverts to its original
setting.
LockType Property - ADO
Indicates the type of locks placed on records during editing.
Applies To
Recordset
Constant Description
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.
Providers may not support all lock types. If a provider cannot support the
requested LockType setting, it will substitute another type of locking. To
determine the actual locking functionality available in a Recordset object, use
the Supports method with adUpdate and adUpdateBatch.