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

# TDataSet.AfterOpen

Event triggered after the dataset is opened.

## Declaration

Source position: db.pas line 1747

`public property TDataSet.AfterOpen : TDataSetNotifyEvent read FAfterOpen write FAfterOpen;`

## Description

AfterOpen is triggered after the dataset is opened. The dataset has fetched its data and is in dsBrowse state when this event is triggered. If the dataset is not empty, then a TDataset.AfterScroll event will be triggered immediately after the AfterOpen event. If an exception is raised during the event handler, the dataset remains open, but the AfterScroll event will not be triggered.

## See also

TDataset.AfterOpen |  | Event triggered after the dataset is opened.
TDataset.State |  | Current operational state of the dataset
TDataset.AfterScroll |  | Event triggered after the cursor has changed position.

Documentation generated on: May 14 2021