To preview a query, follow the steps below:
on the toolbar. The Preview Option dialog will then appear. See the dialog.
Note: The values shown in the text boxes as soon as the Preview Option dialog appears are the default values. These values can be specified in the Query Editor category in the Options dialog.
Note: If the query has parameters, when you click the OK button, the Enter Parameter Values dialog will be displayed. After you enter the parameter value, the Preview dialog will appear showing the corresponding records.
,
,
and
to browse the records. If the type of the result set is TYPE_FORWARD_ONLY, the last page button will be disabled until you have browsed the last page.
on the toolbar. If you want to preview the result set before printing, click the Print Preview button
.
in the upper right corner of the dialog) to close the Preview dialog.Note: In the Preview dialog, JTable is used to display the result set. When you open the dialog, the result set is cached, and when you close the dialog, the result set is released.