Page 1 of 1

Hot to start MySQLMonitor in a compiled programm?

Posted: Fri 20 Jun 2008 12:56
by shsit
Hi,

is there a way to start the MySQLMonitor in a compiled programm?
I want to give a customer the option to trace the SQL statements while using the programm.
Thx,
greets ben

Posted: Mon 23 Jun 2008 12:10
by Dimon
In order to use MySQLMonitor in the program you should put the TMySQLMonitor component on a form or create this object in run-time. After that you should process the OnSQL event or use DBMonitor to trace SQL usage.