Occurs before an application executes a request to close the dataset.
Syntax:
property BeforeClose: TDataSetNotifyEvent;
Description:
Write a BeforeClose event to take specific action before an application closes a dataset.
Calling Close or setting the Active property to False results in a call to the
BeforeClose event handler.