|
|
|
|
SQL Reporting Services - Answers to your questions
| |
|
Author |
Thread:
Page Breaks, Conditional Visibility, and Subreports |
|
timchandler
|
Page Breaks, Conditional Visibility, and Subreports
Posted:
Thursday, January 26, 2006 9:18 PM (GST)
|
|
Hi there,
I have two reports (Report Master and Report Detail). The Master report has four subreports, where each of the subreports source is the detail report. Each of the subreport controls is inside a rectangle on the Master report page. The rectangles holding the subreport are conditionally visible, based on a report parameter on the Master report (Show Grand Total, Show Store View, Show Store/Location View, Show Store/Location/Employee View, for illustration purposes). Each subreport basically shows the same report, just for a diffeerent level (so the first one is Grand Total, the second is Store View, the third is Store/Location view, and the fourth is Store/Location/Employee view).
When I execute my report in Report Manager, my page breaks disappear within Report Manager. Essentially, I see all my subreports rendered on the same page, one after another. When I go to Print, then select Preview, I actually can see each page individually, and if I print it off, it prints correctly. But the view from Report Manager, and thus from my application, looks like one continuous page. If I remove the conditional visibility, the paging displays correctly.
Is there something special I need to do in order to conditionally show a subreport, but make sure that my page breaks show in the Report Manager?
Thanks!
Tim Chandler
|
|
|
|
|
|
|
|
|