Search code examples
c#reporting-servicesssrs-2008page-break

Why my textbox in the list appear only in the first page?


I create a report and I use list which contains a text box(=Fields!st_crscls.Value) ,and a Table.

I group by a parameter. But I note that the textbox appears only in the first page!

All the subsequent pages have no textbox.

enter image description here


Solution

  • Textboxes don't repeat on their own.

    To have a textbox repeat, it should be contained in an repeating item, such as the rows of a table.

    From your formula, it sounds like this belongs either in the summary row for a grouping, or in a row in the details group, and you should set the properties of the appropriate group to start a new page on each instance.

    Another possibility is to add a Page Header to your report, and place the text box there.

    More details on group headers at the top of each page: Sounds like you just need to display the Group summary row (also called a Total row) on each page. Also sounds like your groups won't span more than one page. First make sure that you have a Group Total or Summary row. SSRS Group Total Row

    Then make sure you have a page break between each instance of the group. Sounds like you've already got this, but I would use this setting:

    Group Properties-> Page Breaks

    Now the row of the table with [ClassName] will always be at the top of a page.

    If your groups might span pages, than follow the instructions here.

    http://ch1n2.wordpress.com/2009/07/22/how-to-repeat-group-header-on-each-new-page-on-tablix-in-ssrs-2008/