Page 1 of 1
WillExecute and ExecuteComplete events ?
Posted: Sun 19 Mar 2006 15:15
by ziclope
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
Posted: Mon 20 Mar 2006 09:43
by Antaeus
Please pay attention on MyQuery.BeforeOpen, MyQuery.AfterOpen, MyQuery.AfterExecute events and MySQLMonitor component.
Posted: Mon 20 Mar 2006 13:55
by ziclope
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 ?
Posted: Mon 20 Mar 2006 16:19
by Antaeus
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.