Display the Sub-Report on a Separate Page with a Page Name Using Rectangle Report Items
We will explore how to utilize Rectangle Report Items in Bold Reports to display sub-reports on separate pages, each identified by a unique page name. This technique can be particularly useful when you have a main report that includes various sections or categories of data. It allows you to provide users with the ability to view detailed information for each section on dedicated pages.
To achieve this in Bold Reports, follow the steps below.
-
Add the textbox to the header section of the report and use the following inbuilt expressions, as shown in the image below.
=Globals!PageName
-
Add rectangle items to the body of the report and write the page name for the particular report, as shown in the image below.
-
Set the page break for each rectangular report item, as shown in the image below.
-
Select the sub-report inside the rectangular report items and provide the respective path for the sub-report.
-
Repeat the above steps for the other rectangular report items in the other sub-report.
-
Click the Preview button to see the output in the viewer.
-
Click here to download the sample report.