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

# TDataSet.AfterPost

Event called after changes have been posted to the underlying database

## Declaration

Source position: db.pas line 1631

`public property TDataSet.AfterPost: TDataSetNotifyEvent read FAfterPost write FAfterPost;`

## Description

AfterPost is triggered when the TDataset.Post operation was succesfully completed, and the dataset is again in dsBrowse state. If an error occured during the post operation, then the AfterPost event is not called, but the TDataset.OnPostError event is triggered instead.

## See also

TDataset.BeforePost |  | Event called before changes are posted to the underlying database
TDataset.Post |  | Post pending edits to the database.
TDataset.State |  | Current operational state of the dataset
TDataset.OnPostError |  | Event triggered when a post operation fails.

The latest version of this document can be found at lazarus-ccr.sourceforge.net .