I have a master report with two subreports. The dimensions of each areabout a A4 page. I use two parameters to hide the subreports. So normaly the report should be two pages if both parameters are activated and one page if only one parameter is activated.
But I always got two pages, page one empty if only subreport two is activated and page two empty if only parameter one is activated.
I am using the following bindung für the two subreports
Subreport 1:
- Expression: = Parameters.param1.Value
- Path: Visible
Subreport 2:
- Expression: = Parameters.param1.Value
- Path: Visible
What can I do that the subreports will not use any space when visible=false? If I have a look at the 'HTML Redering' the space is empyt, but if I have a look at the print preview or do an export the space ist used.
The problem is that i have to create a Master/SubReport using 50 subreports where the user can select the desired subreports.