RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientDataSet.BeforeOpen Event

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

Pascal
property BeforeOpen: TDataSetNotifyEvent;
C++
__property TDataSetNotifyEvent BeforeOpen;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!