Occurs after an application closes a dataset.
property AfterClose: TDataSetNotifyEvent;
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.