Icon Delete Method

procedure Delete

Usage

Available In: Client and Server Applications

Use this method to delete the active row in the dataset. Before the deletion occurs, the BeforeDelete event is triggered, allowing the deletion to be aborted, if necessary. After the deletion occurs, the AfterDelete event is triggered.

Information If a transaction is active, as indicated by the TDatabase InTransaction property, then the Delete method also logs the current delete operation for inclusion in the current transaction. Please see the Transactions topic for more information.
Image