Building a Simple Monitoring Application
Go Up to Debugging with SQL Monitor
To build a simple SQL monitoring application, follow these steps:
- Open a new form in Delphi.
- Add a
Memo
component to the form and clear theLines
property. - Add a
TIBSQLMonitor
component to the form - Double-click the
OnSQL
event and add the following line of code:Memo1.Lines.Add(EventText);
- Compile the application.
You can now start another IBX application and monitor the code.