RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.BatchMove Method

Moves records from a dataset into this table.

Pascal
function BatchMove(ASource: TBDEDataSet; AMode: TBatchMode): Longint;
C++
__fastcall Longint BatchMove(TBDEDataSet ASource, TBatchMode AMode);

Call BatchMove to 

Copy records from another table into this table. 

Update records in this table that occur in another table. 

Append records from another table to the end of this table. 

Delete records in this table that occur in another table. 

ASource is a dataset component containing the records to import or (if deleting) match. The AMode parameter indicates what operation to perform (copy, update, append, or delete). This table is the destination of the batch operation. 

BatchMove returns the number of records operated on. 

 

TBatchMove 

Importing Data from Another Table 

Using TTable

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