?
Solved

How to use BatchMove to copy a table?

Posted on 1998-12-12
1
Medium Priority
?
422 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 80 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

864 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