Adding Report Parameters to Report

Adding a Report Parameter

To add report parameters to reports:

  1. Select a cell.

    Selecting a cell

todo:image_alt_text

  1. Click Insert Formula on the Aspose.Cells.Report.Designer toolbar.

    todo:image_alt_text

  2. Select Parameters from the Parameters panel on the left. All the parameters are listed in the right panel.

  3. Select a parameter; in this example, we’ve selected EmpID.

  4. Double‑click the parameter to make the expression appear in the editor at the top of the form. A parameter has two data attributes: Label and Value (the default attribute is Value).

    Selecting a parameter

todo:image_alt_text

  1. In the sample, the parameter’s label should be shown in the report, so modify the expression to Parameters!EmpID.Label.

    Modifying the parameter

todo:image_alt_text

  1. Click OK.
    The selected cell contains a report parameter marker.

    A report parameter inserted into the cell

todo:image_alt_text