Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dummy question to kretschmar

Posted on 2000-03-24
3
Medium Priority
?
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 300 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

Industry Leaders: 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

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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

618 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