Solved

DB Append & Update at Runtime

Posted on 1997-08-16
1
309 Views
Last Modified: 2010-04-06
Using the Database Explorer, I can add records to a table from another table with the same structure using the Add method.  I can select the Append and Update option and the target table will update any existing records and append any new records in their proper position.  My question is, how do I do this in Delphi at runtime?  What are the methods or procedures? If this particular method doesn't exist, how would I do this using a Query?
0
Comment
Question by:d4jaj1
1 Comment
 
LVL 1

Accepted Solution

by:
jturpin earned 20 total points
ID: 1341637
Try looking at TTable.BatchMove.

Or TTable.Append;
   -- processing to load the fields --
   TTable.Post;

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

947 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

18 Experts available now in Live!

Get 1:1 Help Now