To preview a query, follow the steps below:
on the toolbar. The Preview Option dialog will then appear. See the dialog.
Tip: 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 window 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. Click the Stop button
to stop JReport from refetching the result set is required.
. If you want to preview the result set before printing, click the Print Preview button
.Note: In the Preview window, JTable is used to display the result set. When you open the window, the result set is cached, and when you close the window, the result set is released.