PgDAC

TPgQuery.LockMode Property

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

Class

TPgQuery

Syntax

property LockMode: TLockMode;

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 lmNone.

See Also

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