Online Documentation for Advanced Data Import for RAD Studio VCL
TQImport3Wizard.OnDestinationLocate
type
TDestinationLocateEvent = procedure(Sender: TObject; KeyColumns: TStrings; Row: TQImportRow;
var KeyFields: string; var KeyValues: Variant) of object;
property OnDestinationLocate: TDestinationLocateEvent;
Description
If the ImportMode property has any value except qimInsertAll, and the ImportDestination property is set to qidDataSet or qidDBGrid, and it is necessary to find the record by KeyColumns values, then the TDataSet.Locate method is called. You can use the OnDestinationLocate event to customize the TDataSet.Locate method parameters, such as KeyFields and KeyValues.
See also: