FireDAC.Comp.BatchMove.TFDBatchMove.OnWriteRecord
Delphi
property OnWriteRecord: TFDBatchMoveWriteRecordEvent read FOnWriteRecord write FOnWriteRecord;
C++
__property TFDBatchMoveWriteRecordEvent OnWriteRecord = {read=FOnWriteRecord, write=FOnWriteRecord};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Comp.BatchMove.pas FireDAC.Comp.BatchMove.hpp |
FireDAC.Comp.BatchMove | TFDBatchMove |
Description
Event triggered before a target record updates.
Write an event handler for the OnWriteRecord event to specify what happens before a target record updates. You can use the OnWriteRecord event and the mapping collection, with the current source record values, for example, to change default update action.
The event handler for the OnWriteRecord event receives the following argument:
AAction
: identifies an action to perform with the target record.