Solved

How to use BatchMove to copy a table?

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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