Show different group header and footer per section

孤人 提交于 2019-12-25 02:22:37

问题


Can anyone tell me how to show SSRS group header and footer in SSRS 2008R2? The idea is to have an approach like in Crystal Reports, where we can add a group header/footer and do our own design in that section on every page based on page break functionality.

Does anyone know an approach for this in SSRS? I should be able to show my own design/controls/dataset fields group header area, and be able to see it on every page based on the page break by group. Would also appreciate if you can share any video or tutorial related to the approach.

Below is my scenario and the issues:


回答1:


First off, you can't really do much in Page Header and Footer in SSRS 2008, this will not be flexible enough for these requirements.

Probably the best workaround then to create multiple sections is to split the main report into several subreports. Each subreport can have it's own "starting area" with images, textboxes, aggregate info: whatever you'd like in your "header". In the main report you could set up page breaks to make sure each "section" (subreport) appears on a new page.

One downside to this approach, as mentioned in the first bit of this answer: you can't repeat the header on each page, because Page Header and Footer are ignored for subreports.



来源:https://stackoverflow.com/questions/12617250/show-different-group-header-and-footer-per-section

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!