TSQLQuery.OnDeleteError property
Event triggered when a delete operation fails.
Declaration
property OnDeleteError:;Description
OnDeleteError is triggered when the
Delete method fails to delete the record in the underlying database.
The event handler can be used to indicate what the response to the failed delete should be. To this end, it gets the exception object passed to it (parameter
E),
and it can examine this object to return an appropriate action in the
DataAction parameter. The following responses are supported:
- daFail
- daAbort
- daRetry
For more information, see also the description of the TDatasetErrorEvent event handler type.
This description is the one of DB.TDataSet.OnDeleteError.
See also
- TDatasetErrorEvent
- Delete
- OnEditError
- OnPostError
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
