Skip to content

TDataSet.AfterPost

Event called after changes have been posted to the underlying database.

Declaration

Source position: db.pas line 2142

public property AfterPost: TDataSetNotifyEvent;

Description

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

See also

Name Description
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.