FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.BeforeOpen

From RAD Studio API Documentation

[–] Properties
Type: event
Visibility: published
Source:
FireDAC.Phys.MongoDBDataSet.pas
FireDAC.Phys.MongoDBDataSet.hpp
Unit: FireDAC.Phys.MongoDBDataSet
Parent: TFDMongoDataSet

Delphi

property BeforeOpen;

C++

__property BeforeOpen;

Description

Occurs before an application executes a request to open a dataset. FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.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