Running a query and displaying a report
When you run a query, QMF displays the retrieved data as a report. The appearance of the report is controlled by choices you make on QMF form panels.
About this task
You can run a query with only one table selected, and some or all columns selected.
Edit codes that are used on forms control how different data types are formatted. Because QMF applies different default edit codes to different data types, some of the columns on your report might display only the data type and length rather than the actual data in the column.
To run a query:
- From the Specify panel, press the Cancel function key. The Prompted Query panel displays your query.
- Press the Run function key.
You can also enter RUN QUERY on the QMF command line.
When QMF finishes running your query, it displays a report that shows all of the data that you selected, as shown in the following figure.
If your query selects many rows, you might need to scroll forward to see all the data.
- If you want to change the query, press the Query function key to return to the Prompted Query panel.