Solved

How to use BatchMove to copy a table?

Posted on 1998-12-12
1
386 Views
Last Modified: 2010-04-04
I am new to Delphi (4).  I need to copy a table using the TBatchMove component.  Can anyone show me the proper implementation?
0
Comment
Question by:rickofkirkwood
1 Comment
 
LVL 1

Accepted Solution

by:
rpetruni earned 20 total points
ID: 1350774
Hi ,
This is simple...
Put BachMove on your form, then pick in properties of it:
1. Source - path to the table you want to copy data from,
2. Destination - path to the table you want to copy data TO
3. Mode - batCopy (batAppend, batUpdate, batDelete,...)
.there is only one problem, Destination table MUST HAVE ALL FIELDS that your source table have...
and in your source code you have to call the BatchMove
That's it...
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question