Page 1 of 1

TMyQuerry.SQL*

Posted: Tue 29 Aug 2006 22:29
by teunis
Delphi 6 Q : TMyQuerry;
Fortunately this goes well: Q.SQL property is set and Q.Execute gives me result.
But I also see Q.SQLUpdate etc.
How can I let the Q know to execute SQLUpdate?
The examples given are very sound sql's but how to execute them.
Please, enlight me (Teunis) :shock:

Posted: Wed 30 Aug 2006 06:19
by Antaeus
SQLUpdate is executed automatically if you do something like this:

Code: Select all

  Q.Edit;
  // some code to edit record
  Q.Post
This is described in MyDAC FAQ.