Icon TDataSetEvent

Unit: WebData

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

Available In: Client and Server Applications

The TDataSetEvent type is used by the TDataSet BeforeOpen, BeforeClose, BeforeScroll, BeforeInsert, BeforeUpdate, BeforeSave, BeforeCancel, BeforeDelete, and BeforeLoad events.

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