SSRS How to repeat the table header on each page in print preview

◇◆丶佛笑我妖孽 提交于 2019-11-27 11:07:53

问题


I have an SSRS report, for some reason the header is not repeating on all of the pages in the print preview mode. Below is the image of the table:

I have as well checked the Repeat Header rows on each page option as below:

I would like the headers to repeat on every page.


回答1:


To repeat rows with column headings for a table with row groups

  • In Design view, select the table. The Grouping pane displays the row groups.

  • On right side of the Grouping pane, click the down arrow, and then click Advanced. The Grouping pane displays static and dynamic tablix members for each group. You can only set properties on a static tablix member.

  • In the Row Groups pane, click the static tablix member for the row that you want to repeat. When you select a static tablix member, the corresponding cell on the design surface is selected, if there is one. The Properties pane displays the properties for the selected tablix member.

    • Set the KeepWithGroup property in the following way:
    • For a static row that is above a group, click After.
    • For a static row that is below a group, click Before.
    • Set the RepeatOnNewPage property to True.



回答2:


Here i got a solution :

1. In the Tablix properties check the boxes for: Repeat header rows on each page and Keep header visible while scrolling.
make sure that the column headrs check boxes are NOT checked.
2. In the Group pane on the left (Row Groups) the first line is static. 
3. set its: "ReapetOnNewPage" property to TRUE
set its: "FixedData" property to TRUE
set its: "KeepWithGroup" property to AFTER


来源:https://stackoverflow.com/questions/19775451/ssrs-how-to-repeat-the-table-header-on-each-page-in-print-preview

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