Solved

Dummy question to kretschmar

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 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

21 Experts available now in Live!

Get 1:1 Help Now