Using parameter control to specify a parameter to a report

A parameter control is a web control that is bound with a parameter used by the current report. By specifying values to the parameter in a parameter control at runtime, end users can pass the parameter values to JReport and run the report with the specified values.

Parameter controls do not support inserting cascading parameters. If you want to do this, use parameter form controls instead.

To insert a parameter control into a report:

  1. Do one of the following:

    The Insert Parameter Control dialog appears. See the dialog.

  2. In the dialog, specify the parameter you want to add to the parameter control from the Select a Parameter box, which lists all the parameters except cascading parameters used in the current report.
  3. When done, click OK to insert the parameter control into the desired destination.

See also Insert Parameter Control dialog for detailed explanation about options in the dialog.