FireDAC.Comp.BatchMove.TFDBatchMove.ErrorCount

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.BatchMove.pas
FireDAC.Comp.BatchMove.hpp
Unit: FireDAC.Comp.BatchMove
Parent: TFDBatchMove

Delphi

property ErrorCount: Integer read FErrorCount;

C++

__property int ErrorCount = {read=FErrorCount, nodefault};

Description

Indicates the number of data writing errors on data movement using a TFDBatchMove.

When TFDBatchMove calls the Execute method, ErrorCount is reset to zero. The error counter is incremented on each data writing error. The counter is not incremented on data reading errors, instead execution is aborted.

The ErrorCount is used in combination with MaxErrors and OnError for error handling purposes. When OnError event handler is assigned, then the error counter is incremented only when AAction argument returns eaDefault, eaFail or eaSkip.

See Also