Icon TDatabaseEvent

Unit: WebData

TDatabaseEvent = function (Sender: TObject): Boolean of object

Available In: Client and Server Applications

The TDatabaseEvent type is used by the TDatabase BeforeCommit and BeforeRollback events.

The Sender parameter is the TDatabase instance that triggered the event. Return True from the event to allow the applicable database functionality to continue, or False to prevent the functionality from occurring.
Image