Datasnap.DBClient.TClientDataSet.AfterDelete
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: Datasnap.DBClient.pas Datasnap.DBClient.hpp
| |
| Unit: Datasnap.DBClient | |
| Parent: TClientDataSet | |
Delphi
property AfterDelete;
C++
__property AfterDelete;
Description
Occurs after an application deletes a record. Datasnap.DBClient.TClientDataSet.AfterDelete inherits from Data.DB.TDataSet.AfterDelete. All content below this line refers to Data.DB.TDataSet.AfterDelete.
Occurs after an application deletes a record.
Write an AfterDelete event handler to take specific action immediately after an application deletes the active record in a dataset. AfterDelete is called by Delete after it deletes the record, sets the dataset state to dsBrowse, and repositions the current record.
AfterCancel is an event handler of type Data.DB.TDataSetNotifyEvent.