RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBatchMove.Destination Property

Specifies the TTable object for the database table that is the destination of the batch operation.

Pascal
property Destination: TTable;
C++
__property TTable Destination;

Use Destination to indicate the database table that will be created or altered by the batch operation. The batch operation affects the Destination differently depending on the Mode:

Mode 
Effect on Destination 
batAppend  
Records are added to the destination table. No pre-existing records are altered. Destination table must already exist.  
batUpdate  
Records in the destination table with key fields matching the corresponding fields in the source are changed to match the source records. No new records are added. Destination table must already exist and must have an index defined.  
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. Destination table must already exist and must have an index defined.  
batDelete  
Records in the destination table that match the records in the source are deleted. Destination table must already exist and must have an index defined.  
batCopy  
Destination table is created to match the records in the source. If Destination already exists, it is replaced by the copy of the source.  

 

Mode 

Source 

Creating a Batch Move Component

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!