Solved

Dummy question to kretschmar

Posted on 2000-03-24
3
161 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 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