Solved

Batch in Delphi

Posted on 1997-11-16
1
279 Views
Last Modified: 2010-04-04
What is the best way to perform a batch task in Delphi?
Let's say I have a DBFile in which I want to update all records matching a certain equation. (Salary between 10.000 and 20.000 or something like that)
0
Comment
Question by:lizzzard
1 Comment
 

Accepted Solution

by:
cashew earned 50 total points
ID: 1350677
if you have Paradox, you can use the QBE to generate the "Changeto" query.  Pdox also lets you see the SQL if you want to cut-paste it directly into Delphi.

If you are just using delphi, then you will be performing an UPDATE query.  Without the DB layout or fields you want to change, it will be difficult to say just how to do it.  In any event, it sounds like the way to do it in Delphi would be to put a SQL component on the form where you need the action to be performed.  Or, you could place it on your DataModel, if you set one up for the project.
0

Featured Post

Independent Software Vendors: 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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