UniDAC

TUniTable.LockMode Property

Used to specify what kind of lock will be performed when editing a record.

Class

TUniTable

Syntax

property LockMode: TLockMode default lmOptimistic;

Remarks

Use the LockMode property to define what kind of lock will be performed when editing a record. Locking a record is useful in creating multi-user applications. It prevents modification of a record by several users at the same time.

Locking is performed by the RefreshRecord method.

The default value is lmOptimistic.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback