EPUB | CHM | PDF

TDataSet.Events.AfterClose

Top Previous Next

Occurs after an application closes a dataset.

Syntax:

property AfterClose: TDataSetNotifyEvent;

Description:

Write an AfterClose event handler to take specific action immediately after an application closes a dataset. For example, as a security measure, an application might clear a PASSWORD entry from the Params property of a database component when the dataset is closed.

AfterClose is called after a dataset is closed and the dataset state is set to dsInactive.