FireDAC.Comp.Client.TFDExecuteErrorEvent
C++
typedef void __fastcall (__closure *TFDExecuteErrorEvent)(System::TObject* ASender, int ATimes, int AOffset, Firedac::Stan::Error::EFDDBEngineException* AError, Firedac::Stan::Intf::TFDErrorAction &AAction);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | FireDAC.Comp.Client.hpp | FireDAC.Comp.Client | FireDAC.Comp.Client |
Description
TFDExecuteErrorEvent is the function type for an OnExecuteError event.
TFDExecuteErrorEvent has the following parameters:
Parameter | Meaning |
---|---|
|
The reference to the dataset. |
|
The current Array DML size. If the full operation is split into several small operations (on Firebird, for example), |
|
The current Array DML offset. If there are skipped erroneous rows or the full operation is split into several small operations (on Firebird, for example), |
|
The original DBMS returned error. Check AError.Errors[i].RowIndex for the index of the erroneous row in the parameters array. |
|
The action dataset should take place after it returns from the event handler. |