Occurs before an application attempts to delete the active record. Syntax: property BeforeDelete: TDataSetNotifyEvent; Description: Write a BeforeDelete event handler to take specific action before an application deletes the active record. BeforeDelete is called by Delete before it actually deletes a record. Making use of this event an application might, for example, display a dialog box asking for confirmation before deleting the record. On denial of confirmation, the application could abort the deletion by calling the Abort procedure. |