Using Parameters
Report parameters in FlexReport can be used to perform following tasks:
- Data binding
- Creating expressions for calculated fields
- Creating Subreports
- Passing multiple values to a field by adding multi-value parameters
- Silently passing values to a report
- Managing large amount of data using cascading parameters
Adding parameters to a report
The steps to add parameter to a report are as follows:
- Run C1FlexReportDesigner.exe application.
- Create a new report. Bind it to a data source, which is the Main data source. The report opens in the Design mode.
- Click the Data tab.
- Right-click Data Sources and click Add Data Source to add a data source for specifying a parameter. Add as many data sources as the number of parameters that need to be added to the report. See Adding Multiple Data Sources for more information.
- Right-click Parameters and select Add Parameter from the context menu.
- Set the properties of parameters from the Properties window depending upon the task that needs to be accomplished using parameters.
The following sections explain the various tasks that can be achieved using parameters.
See Also