Navigator > Setup > Report Designer > Edit Query (Alt+Q) button
This opens the SQL Query Builder. Reports require a query to determine what data will be available in the report.
After you design a SQL query, you can use Report Designer Wizard to design the report.
Use the tools to build a query. |
|||
View and edit the SQL. |
|||
Set parameter types and values and view results after Execute Query. |
|||
View results of I/O for the query. |
|||
File Menu |
|||
Load SQL Query |
Load a previously saved SQL query file. |
||
Save SQL Query |
Save query as an SQL Query file. |
||
Buttons |
|||
|
Check Query |
Checks the syntax of the query shown on the SQL tab without executing. An error message will provide details of problems. |
|
|
Execute Query |
Executes the query shown on the SQL tab and shows the results on the Results tab. |
|
Clear Results |
Clears the data shown on the Results tab. You must clear the results to make changes in the Query Layout tab or SQL tab. |
||
|
Print |
From the Query Layout tab and the Results tab, prints the Query Results. Note: You need to click From the SQL tab, prints the SQL Query. |
|
|
Accept |
Accepts the query and returns to Report Designer. If you accept a query when the Results tab is:
|
|
|
Cancel |
Closes SQL Query Builder and returns to Report Designer without saving changes to the query. |
|