I desingned a report with several subreports to use in my application. Normally each subreport have to start on a new page. I did this by making a diffrent section for each subreport and selecting the option "New page before" for each section.
When a subreport is blank, both the subreport and the section are suppressed but the new page isn't, so there are empty pages in my report.
Because the reportheaders of the subreports are suppressed, I tried to set the pagebreak before the groupheader of the subreports but this resulted in no pagebreak at all.
I also tried to use a shared variable on each subreport that is true when the report is blank so I could use a condition on the "New page before" option, but in the mainreport I never get the value of this variable.
Does anybody have any idea about how I can start each subreport on a new page without having empty pages when a section is suppressed?
Thanks
--------------------------------
From: Nadia Daems
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>4sGgaa9st0Od5+779VEgeA==</Id>