FireDAC.Comp.BatchMove.TFDBatchMove.OnFindDestRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFindDestRecord: TFDBatchMoveFindDestRecordEvent read FOnFindDestRecord write FOnFindDestRecord;

C++

__property TFDBatchMoveFindDestRecordEvent OnFindDestRecord = {read=FOnFindDestRecord, write=FOnFindDestRecord};

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Comp.BatchMove.pas
FireDAC.Comp.BatchMove.hpp
FireDAC.Comp.BatchMove TFDBatchMove

Description

The OnFindDestRecord fires when batch move need to find a matching record on the writer.

The OnFindDestRecord event handler fires when batch move Mode is dmAppend, dmAppendUpdate, dmUpdate or dmDelete and the data destination initially is not empty. The handler should use batch move Mappings property to get the current source record values. When a destination record is found then AFound must be set to True, and depending on the writer kind the event handler may set the current position on the data destination to matching record.

The event handler has the following argument:

  • AFound: Set to True when the destination record is found. Otherwise set to False.

See Also