API:Bde.DBTables.TBDEDataSet.BeforeOpen

From RAD Studio API Documentation

Delphi

property BeforeOpen: TDataSetNotifyEvent read FBeforeOpen write FBeforeOpen;

C++

__property BeforeOpen;

Properties

Type Visibility Source Unit Parent
event published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBDEDataSet

Description

Occurs before an application executes a request to open a dataset. {{#multireplace:Bde.DBTables.TBDEDataSet.BeforeOpen|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.BeforeOpen|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.BeforeOpen|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also