Adding SQL queries to custom reports
You can add a new System Report with an SQL query.
To add an SQL query to a custom report
- From the menu bar, select Utilities > Report Specs to open the Report Specifications window.
- Click New.
- Enter the System, Category, and Title.
- Click Parameters to open the Detail Report Parameters window.
- Enter SQLExec/240 in the Control Procedure field.
- Add GO after your SQL statement.
- Click OK.