RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBBatchMove.Source Property

Specifies the dataset that is the source of the batch operation.

Pascal
property Source: TIBCustomDataSet;
C++
__property TIBCustomDataSet Source;

Use Source to indicate the dataset that contains the records that will be added to, subtracted from, or copied to the Destination. If Source is a TIBQuery component, the query is executed before the move is executed. If a filter is currently in effect on Source, the filter conditions are respected when the batch move executes. The Mode property indicates how the Source records are applied to the Destination:

Mode 
Effect on Destination 
batAppend 
batAppend Records are added to the destination table. 
batUpdate 
Records in the destination table with key fields matching the corresponding fields in the source are changed to match the source records. 
batAppendUpdate 
Records in the destination table with key fields matching the corresponding fields in the source are changed to match the source. Source records that do not match key fields are added to the destination table. 
batDelete 
Records in the destination table that match the records in the source are deleted. 
batCopy 
Destination table is created to match the records in the source. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!