Solved

How to use BatchMove to copy a table?

Posted on 1998-12-12
1
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 118
Printing problem 2 111
How to load 2 images in same column in Delphi 2 68
Firemonkey Tcameracomponent resultion 1 23
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…

749 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