Building a Simple Monitoring Application

From InterBase
Jump to: navigation, search

Go Up to Debugging with SQL Monitor


To build a simple SQL monitoring application, follow these steps:

  1. Open a new form in Delphi.
  2. Add a Memo component to the form and clear the Lines property.
  3. Add a TIBSQLMonitor component to the form
  4. Double-click the OnSQL event and add the following line of code:
     Memo1.Lines.Add(EventText); 
  5. Compile the application.

You can now start another IBX application and monitor the code.