[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TDataSet.AfterClose

Event triggered after the dataset is closed

## Declaration

Source position: db.pas line 1749

`public property TDataSet.AfterClose : TDataSetNotifyEvent read FAfterClose write FAfterClose;`

## Description

AfterOpen is triggered after the dataset is opened. The dataset has discarded its data and has cleaned up it's internal memory structures. It is in dsInactive state when this event is triggered.

## See also

TDataset.BeforeClose |  | Event triggered before the dataset is closed.
TDataset.State |  | Current operational state of the dataset