Locks the current record.
Class
TCustomDADataSet
Syntax
procedure Lock; virtual;
Remarks
Call the Lock method to lock the current record by executing the statement that is defined in the SQLLock property.
The Lock method sets the savepoint with the name LOCK_ + <component_name>.
See Also