### Viewing from the user interface

To view a report set in JReport Web from the user interface, follow the steps below:

1. Start JReport Enterprise Server and log onto the JReport Console page.
2. Click Reports on the system toolbar, browse to the folder that contains your report set, then do one of the following:
   - Click the report set name in the Name column. If parameters are needed for running the report set, a dialog will prompt you to assign values to the parameters.
   - Select the row where the report set is, right-click in the row and then select Advanced Run from the shortcut menu. In the General tab of the Advanced Run dialog, select the report in the report set you want to run, specify parameter values if any, then click the Format tab, select DHTML from the Select Format for Viewing Report drop-down list and click Finish.
3. The report set processing page appears, on which you can choose to cancel the running of the report set, or to make the report set run in background mode. Click Cancel on this page if you decide to cancel, Background if you want the report set to run in background mode, or just wait for processing to complete for viewing and interacting with the report set.

Notes:

- Before you can click the name of a report set on the JReport Console > Reports page to run it in JReport Web, you should first make sure that the default format for viewing report sets is specified to DHTML. If not, on the JReport Console page, click Profile on the system toolbar, click Customize Server Preferences on the task bar of the Profile page, select the General tab, and then select DHTML from the Default Format for Viewing Reports drop-down list.
- When you cancel a report set from running, you can choose whether to cancel the running query used by the report set in the database at the same time by configuring the JdbcDriversConfig.properties file. For details, refer to Canceling running query.

#### Running a DHTML report set in background mode

When you run a report set in DHTML format, if the report set contains a large amount of data, you need to wait several minutes before the report set results are displayed, and during this period, you have to retain on the report set processing page, or choose to cancel the running. Now JReport enables you to make such kind of report sets run in background mode.

To make a report set running in DHTML to run in background mode, on the report set processing page, click the Background button.

You can also specify to run DHTML report sets automatically in background mode after certain time by setting preferences. To do this:

1. On the JReport Administration/Console page, click Profile on the system toolbar.
2. Click Configure DHTML Profile on the task bar of the Profile page, then click the Properties > Advanced tab.
3. Check Background Mode Timeout and specify the time allowed for a DHTML report set to run in foreground mode.
4. Save the settings, then when a report set runs in DHTML format and the results have not yet been generated after the specified time, it will be automatically switched to run in background mode.

Report sets running in background mode are listed in the Background Tasks table of the My Tasks page, which shows detailed running information of the report sets, such as report set path and name, catalog path and name, running format, time when the task was started/completed, and so on. Also, you can control the status of the report sets running in background mode according to your requirements. For example, you can choose to delete, stop, or restart tasks (for details, see Managing tasks in the task tables).

Once a report set has complete running in background, you can click the report name(s) in the Background Tasks table to open the corresponding report set, and the task will automatically be removed from the Background Tasks table.