OnCustomLockRow Event

Applies to
TIB_Dataset

Declaration
TIB_DatasetEvent = Procedure(IB_Dataset: TIB_Dataset ) of object;

Description
This event allows a custom action to be performed in order to consider the record about to go into dssEdit state as locked. If the lock fails an exception may be raised.

It may be easier to assign a statement to the LockSQL property that can be either an UPDATE statement or an EXECUTE PROCEDURE statement.