### Using a parameter form to run report sets

A parameter form is used to run other report sets after you insert it into a report and run the report in the DHTML format. It is primarily used as an entry to other report sets.

A parameter form is an extension of a standard web control. It is a tabular object that contains three sections:

- The report sets in a drop-down list that you select to run.
- The parameter setting section if the reports in the selected report sets have parameters.
- The Submit button by clicking which to run the selected report sets.

You can format the objects in a parameter form as with normal report objects.

To insert a parameter form and use it to run report sets:

1. Open the report you want to insert the parameter form into.
2. From the Toolbox, drag Parameter Form to the desired place in the report.
3. The Select Reports dialog is displayed, where all report sets in the current catalog are listed. Select the report sets you would like to run from the current report, then click OK.

   The parameter form will then be inserted in the report and the selected report sets are listed in the Run Report drop-down list.

   Tip: In the Run Report drop-down list, the display names of the report sets are displayed. You can change the names if required. To do this, right-click the drop-down list and select Display Type. In the Display Type dialog, locate the Item Label & Value box. The Value column shows the display names of the report sets. Change them as you like, then click OK.

4. Save the report and preview it in DHTML format.
5. In the parameter form, select a report set from the Run Report drop-down list. If the reports in the selected report set have parameters, specify parameter values.
6. Click the Submit button to run the report set.

Note: If you save a report set containing a parameter form to another directory or publish it to local directory or to JReport Enterprise Server, the report sets that you selected in the parameter form in order to run will not be saved or published along with the report set.