Used to specify what kind of lock will be performed when editing a record.
property LockMode: TLockMode default lmOptimistic;
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.