[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event triggered when a delete operation fails.
Source position: db.pas line 1378
public property TDataSet.OnDeleteError: TDataSetErrorEvent |
OnDeleteError is triggered when the TDataset.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:
For more information, see also the description of the TDatasetErrorEvent event handler type.
|
Error handling callback |
|
|
Delete the current record. |
|
|
Event triggered when an edit operation fails. |
|
|
Event triggered when a post operation fails. |
lazarus-ccr.sourceforge.net |