Inspect a Query object on a form, click the SQL property.

Dialog box options

 

SQL statement

Click here and type an SQL statement or statements in the SQL Statement pane in the middle of the dialog box.

SQL statement file

Type a file name containing the desired SQL statements or click the tool button to display an Open dialog box for locating and opening files.

How to get there: In the Inspector, select a Query object and click the wrench tool beside the sql property (in the Miscellaneous category).