Adding Report Parameters to Report
Adding a Report Parameter
To add report parameters to reports:
-
Select a cell.
Selecting a cell
- Click Insert formula on the Aspose.Cells.Report.Designer toolbar (
).
-
Select Parameters from the Parameters panel to the left. All the parameters are listed in the right panel.
-
Select a parameter, in the example, we’ve selected EmpID.
-
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
-
In the sample, the parameter’s label should be shown in the report, so modify the expression to Parameters!EmpID.Label.
Modifying the parameter
-
Click OK. The selected cell contains a report parameters marker.
A report parameter inserted into the cell