Icon OnDeleteError Event

property OnDeleteError: TErrorEvent


The OnDeleteError event is fired whenever the engine encounters an error during the deletion of a record in a table. Assigning an event handler to this event allows you to retry, abort, or fail any delete operation on any record in any table.

Information You cannot modify the contents of the CurrentRecord parameter in this event. Also, this event is not triggered during any system processing such as Creating and Altering Tables or Optimizing Tables.