Datasnap.DBClient.TCustomClientDataSet.BeforeOpen

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: protected
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

property BeforeOpen;

C++

__property BeforeOpen;

Description

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

Datasnap.DBClient.TCustomClientDataSet.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