FireDAC.Comp.BatchMove.TFDBatchMove.ErrorCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ErrorCount: Integer read FErrorCount;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.BatchMove.pas
FireDAC.Comp.BatchMove.hpp
FireDAC.Comp.BatchMove TFDBatchMove

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