Category / Section
How to Add and Configure a Subreport in Bold Reports Enterprise
Published:
Updated:
Subreports in Bold Reports Enterprise enable you to embed one report within another, allowing dynamic display of related or detailed data using parameters. This guide provides clear, step-by-step instructions to insert a subreport, configure parameters, and integrate datasets for dynamic reporting using the Bold Reports Enterprise Designer.
Steps to Add and Configure a Subreport
Step 1: Insert the Subreport
- Open the main report in Bold Reports Enterprise Designer, where you want to include the subreport.
- In the Widgets Panel, search for the Subreport item using the search bar or scroll through the widget list to find it.
- Drag and drop the Subreport widget onto the design canvas.
Step 2: Set the Subreport Path
- Select the subreport widget on the design canvas.
- In the Properties Panel, under the Basic Settings section, click the ellipsis (…) in the Report field to open the file selection dialog.
- Navigate to the server folder containing the subreport (.rdl file).
- Select the desired subreport file and click Open to set the path.
Step 3: Pass Parameters to the Subreport
- With the subreport widget selected, click the Set Parameters button in the Properties Panel to open the parameter mapping dialog.
- Click Add to create a new parameter mapping.
- In the Parameter Name dropdown, select the subreport’s parameter and map it to a corresponding parameter or field from the main report using the Value Field.
- Add additional mappings as needed, then click OK to save.
Step 4: Preview and Test the Report
- Publish both the main report and the subreport.
- Click the Preview button in the toolbar to test the report.
- If the main report includes parameters, select appropriate values in the parameter input fields.
- Click View Report to verify that the subreport renders correctly with the passed parameter values.
Conclusion
By following these steps, you can seamlessly integrate and configure subreports in Bold Reports Enterprise to create dynamic, detailed reports with ease.