Name

Recordset.LockType Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     locktype = recordset.LockType

The LockType property indicates the type of locks that are set on records when they are being edited.

Datatype

LockTypeEnum (Long)

Description

The LockType property is read- and write-enabled when the Recordset object is closed, but read-only once it is opened. The LockType property may be any one of the values in Table E-29.

Note

Not all data providers support every type of record locking. In this case, the data provider may automatically select a different type of lock type. Check the available functionality of a data provider with the Supports property.

See Also

LockTypeEnum Enumeration, Recordset.Open Method, Recordset.Supports Method, Recordset.Update Method

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.