Solved

How to use BatchMove to copy a table?

Posted on 1998-12-12
1
379 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now