Solved

DB Append & Update at Runtime

Posted on 1997-08-16
1
313 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 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