Data.DB.TDataSet.BeforeOpen
Delphi
property BeforeOpen: TDataSetNotifyEvent read FBeforeOpen write FBeforeOpen;
C++
__property TDataSetNotifyEvent BeforeOpen = {read=FBeforeOpen, write=FBeforeOpen};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Occurs before an application executes a request to open a dataset.
Write a BeforeOpen event handler to take specific action before an application opens a dataset for viewing or editing. BeforeOpen is triggered when an application sets the Active property to true for a dataset or an application calls Open.
BeforeOpen is an event handler of type Data.DB.TDataSetNotifyEvent.