WillExecute and ExecuteComplete events ?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ziclope
Posts: 27
Joined: Fri 24 Feb 2006 11:34

WillExecute and ExecuteComplete events ?

Post by ziclope » Sun 19 Mar 2006 15:15

Hello,

I need events for detect query execution and query finalize.
For example in ADO exists 2 events for do it:

- WillExecute
- ExecuteComplete

How could I do it ?

Regards

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 20 Mar 2006 09:43

Please pay attention on MyQuery.BeforeOpen, MyQuery.AfterOpen, MyQuery.AfterExecute events and MySQLMonitor component.

ziclope
Posts: 27
Joined: Fri 24 Feb 2006 11:34

Post by ziclope » Mon 20 Mar 2006 13:55

But these events are for each TMyQuery component in app...

I want do it for all queries launched in the same connection like ADOConnection.

MySQLMonitor have OnSQL event but how could I this component for do it ?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 20 Mar 2006 16:19

MySQLMonitor provides flexible functionality. You should set Options to define what way output information will be processed, and TraceFlags to define what events will be traced. Please see MyDAC Help for detailed information.

Post Reply