FireDAC.Comp.BatchMove.TFDBatchMove.MaxErrors

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property MaxErrors: Integer read FMaxErrors write FMaxErrors default 0;

C++

__property int MaxErrors = {read=FMaxErrors, write=FMaxErrors, default=0};

Description

Specifies the maximum number of errors for error handling purposes.

Use the MaxErrors property to specify the maximum number of errors that provoke an exit failure when processing data using a TFDBatchMove component.

The exit failure takes place when MaxErrors is different from -1 (not unlimited errors allowed) and the ErrorCount is equal or superior to the maximum errors allowed as defined in the MaxErrors property.

The default value is set to 0. Set the MaxErrors property to -1 to allow unlimited number of errors.

See Also