Sign in Join
FPDoc Onlineexperiment

TDataSet.BeforeOpen property

Member of TDataSetpublicIn unit DB

Event triggered before the dataset is opened.

Declaration

pascal
property BeforeOpen: TDataSetNotifyEvent read FBeforeOpen write FBeforeOpen;

Description

BeforeOpen is triggered before the dataset is opened. No actions have been performed yet when this event is called, and the dataset is still in dsInactive state. It can be used to set parameters and options that influence the opening process. If an exception is raised during the event handler, the dataset remains closed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.