BackPrevious Page Next PageNext

Previewing a Page Report

Previewing a report tab in JReport format

Previewing a report tab in other formats

In the process of designing a page report, you can preview the report tabs in it at any time in JReport format or other formats.

When previewing a page report tab,

Previewing a report tab in JReport format

To preview a report tab in JReport format, just click the View tab, which then causes the JReport Engine to run the report tab. The result is then shown in the viewer. To optimize performance, JReport Designer displays report pages before they have been completely generated. For details about the options in the View tab, see Design/View area.

In addition, when previewing a banded object, you are able to dynamically sort the records and show details of aggregate level fields.

Dynamic sort

You can sort the records in a banded object dynamically in the View area. To do this, point to the field you want to sort, then right-click the field and select the option Sort Ascending or Sort Descending from the shortcut menu.

Showing aggregation detail

You can show details of aggregate level fields in a banded object. Showing detail is made possible where there is a summary for a group. For example, if a banded object has been grouped by City, and the group summary is on Cost. When previewing the banded object, if you point the mouse at the total cost sales for a city, it will turn into a small hand. Click on the total, and the detail report for the selected city will be displayed.

Preview a report Aggregation detail

By default, in cases like the above, JReport's convention is to hide the detail panel of each group and only show it in a detail report. To do this, select the detail panel, go to the Report Inspector and set its Invisible property to true (make sure the Suppress property is false). Then view the banded object again, and it will be shown without details. If you want to see the details of a certain city, point the mouse at the city's total annual sales, when the mouse turns into a small hand, click on the total, and the detail report for the city will be displayed.

Preview a report Aggregation detail

Note: After some modifications in the design area, if you find the report tab is shown very quickly and the changes are not applied in view mode, this means you need to click the Refresh Data button Refresh Data button on the toolbar to re-run your report tab.

Previewing a report tab in other formats

JReport also allows you to preview your report tab in the following formats: Page Report Result, HTML, PDF, Excel, Text, RTF, XML and PostScript. To do this, click View > Preview As and the select a format from the drop-down menu. If Page Report Result is selected, the report tab will be opened in Page Report Studio. When any of the other formats is selected, the report tab will be exported to a temporary file which will automatically be opened in the format with the appropriate application. The temporary file will be removed when you exit JReport Designer. If you want the file to be saved so that you can review it at any time, use the Export feature instead.

Notes:

BackPrevious Page Next PageNext