Solved

Dummy question to kretschmar

Posted on 2000-03-24
3
162 Views
Last Modified: 2010-04-04
Meikl:
Just to grade you the 100 points. How can I know if I'm inserting or editing a TQuery?
0
Comment
Question by:binho
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 2653617
hi binho,

look just at the state

if dsinsert, then you edit a new record
if dsedit, then you modify an existing record

well,
glad to helped you on your other q
good luck again

meikl ;-)

for my history:
this q is part-referenced by q
http://www.experts-exchange.com/jsp/qShow.jsp?ta=delphi&qid=10307621 
0
 

Author Comment

by:binho
ID: 2653681
Meikl:
Actually I knew it, but I had to post a question to give you the 100 points...
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2653699
:-))
i thought that you knew this, but was not sure
thanks for the points
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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 109
find a node in VST 2 78
Dev express lookupcombo 3 44
I want to use librsync in my Delphi backup application. 3 69
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…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

679 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