FireDAC.Comp.Client.TFDQuery.BeforeOpen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeOpen: TDataSetNotifyEvent read FBeforeOpen write FBeforeOpen;

C++

__property BeforeOpen;

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDQuery

Description

Occurs before an application executes a request to open a dataset.

FireDAC.Comp.Client.TFDQuery.BeforeOpen inherits from Data.DB.TDataSet.BeforeOpen. All content below this line refers to Data.DB.TDataSet.BeforeOpen.

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