FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.OnDeleteError
Delphi
property OnDeleteError;
C++
__property OnDeleteError;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp |
FireDAC.Phys.MongoDBDataSet | TFDMongoDataSet |
Description
Occurs when an application attempts to delete a record and an exception is raised.
FireDAC.Phys.MongoDBDataSet.TFDMongoDataSet.OnDeleteError inherits from Data.DB.TDataSet.OnDeleteError. All content below this line refers to Data.DB.TDataSet.OnDeleteError.
Occurs when an application attempts to delete a record and an exception is raised.
Write an OnDeleteError event handler to handle exceptions that occur when an attempt to delete a record fails.
The DataSet parameter specifies the dataset that generated the E exception, while the Action parameter should be set by the developer with one of the possible actions defined by TDataAction (daFail, daAbort, or daRetry).
OnDeleteError is an event handler of type Data.DB.TDataSetErrorEvent.