get sql query before DataSet.Post

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ply
Posts: 11
Joined: Tue 27 May 2008 15:03

get sql query before DataSet.Post

Post by ply » Mon 09 Jun 2008 09:11

How can I get sql query which is going to be executed before DataSet.Post ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 10 Jun 2008 09:27

You can use the TCustomDADataSet.Debug property.
Also you can use the TMySQLMonitor component to monitor dynamic SQL execution in MyDAC based applications.
You can find more detailed information about these components in the MyDAC help.

Post Reply