BackPrevious Page Next PageNext

To HTML

To export the results of a report to an HTML file, follow the steps below:

  1. Open the report that you want to export.
  2. Click File > Export > To HTML.
  3. In the Web Wizard, specify the settings as required.
  4. When done, click Finish to generate the file.

The following example shows you how to export the results of a report to HTML format and view the exported file via a web browser, taking the sample report Banded_Link.cls in SampleReports.cat as an example:

  1. Click File > Open.
  2. In the Open Report dialog, click the Browse button to open the catalog file SampleReports.cat in <install_root>\Demo\Reports\SampleReports, then open Banded_Link.cls in the catalog.
  3. Click File > Export > To HTML to open the Web Wizard.
  4. In the Report tab, check the Multiple Files radio button.
  5. Specify the web page name as required. Here we use the default one Banded_Link_Product Sales by Country. Make sure that Drilldown and TOC are checked.

    Web Wizard - Report tab

  6. In the Directory tab, specify where the exported result files will be saved. Here we save them in the default directory C:\JReport\Designer\Demo\Reports\SampleReports\.
  7. In the Chart Applet tab, select Image Chart > GIF.

    Web Wizard - Chart Applet tab

  8. Click Finish.
  9. In the Enter Parameter Values dialog, click Default to generate the results using the default parameter values.
  10. Open the directory C:\JReport\Designer\Demo\Reports\SampleReports\ and find the exported files.
  11. Open the file Banded_Link_Product Sales by Country_1.html.
  12. The Table of Contents (TOC) is displayed in the left panel, including the names of groups and subgroups. If you click a group, the relative contents will be shown in the right panel.
  13. Since Drilldown is checked when exporting the report, you can drill down on a summary by placing the mouse pointer over the summary and clicking it when the mouse pointer becomes a hand.

    Exported report - HTML

    Note that summaries should be inserted into your report in advance. They cannot be hidden or suppressed; otherwise you will not be able to get drilldown files.

Notes:

BackPrevious Page Next PageNext