Repeating TABLE Header on each page of the report when you print the exported to excel report.

  • Hi,

    I have generated the report and looks fine. But while printing the QA Smile wants the report headers(TABLE HEADERS) need to be print on each page. I can get this by doing some format in EXCEL, but that should be done using SSRS. Is this feature present in SSRS to make the table header showup on each page when printing.

    Any help would be greatly appreciated.

    Thanks,

    Suman

  • I too have a same requirement. any ssrs guru help out.

  • Select your table so you can see the column/row selectors

    Right click in the "ALL" selector (the top left corner), then click properties

    This birngs up the Table Properties dialog

    There you can check the box to repeat the header rows on each page along with other page/header/footer options

  • for SSRS 2008,

    If a report with a table is created using the wizard feature (In Solution Explorer, right click on Reports --> Add New Report) Table Headers will repeat on every page.

    Instead if a report is created without using the wizard (In Solution Explorer, right click on Reports --> Add --> New Item) Table Headers will not repeat on every page. Setting Repeat Header (Rows/Columns) on each Page for the Tablix will not help either.

    If you have already built the report and cannot rebuild using the steps above and if and only if you are comfortable altering the xml behind the rdl, do the following. (Save a Backup rdl first)

    View Code.

    Look for TablixRowHierarchy

    Below that there will be a TablixMember that corresponds to the header row.

    to that header and any other header rows ( Tablix Member) add the three element properties.

    KeepWithGroup After /KeepWithGroup

    RepeatOnNewPage true /RepeatOnNewPage

    KeepTogether true /KeepTogether

    You should see the header rows repeating.

    View Siva Gurusamy's profile on LinkedIn

    "Software changes. This is a rather obvious statement, but it is a fact that must be ever present in the minds of developers and architects. Although we tend to think of software development as chiefly an engineering exercise, the analogy breaks down very quickly. When was the last time someone asked the designers of the Empire State building to add ten new floors at the bottom, put a pool on the top, and have all of this done before Monday morning? " : Doug Purdy, Microsoft Corporation

  • Thanks for the reply. Is this possible in ssrs 2005 ??

  • In 2005, lrosini's suggestion to check Repeat header rows on each page, should help.

    In the XML, look for /Header and between /Header and /TableRows, make sure you have this element property: RepeatOnNewPage true /RepeatOnNewPage. If not add this and try.

    View Siva Gurusamy's profile on LinkedIn

    "Software changes. This is a rather obvious statement, but it is a fact that must be ever present in the minds of developers and architects. Although we tend to think of software development as chiefly an engineering exercise, the analogy breaks down very quickly. When was the last time someone asked the designers of the Empire State building to add ten new floors at the bottom, put a pool on the top, and have all of this done before Monday morning? " : Doug Purdy, Microsoft Corporation

  • Thanks for the reply.

    Applying that property does not work. It only prints the header on the very first page but not all.

    Thanks,

    Suman

  • what is the image/figure on your header rows when you select the table. You should see the header image. Or are you seeing the image with three black lines denoting Detail rows.

    View Siva Gurusamy's profile on LinkedIn

    "Software changes. This is a rather obvious statement, but it is a fact that must be ever present in the minds of developers and architects. Although we tend to think of software development as chiefly an engineering exercise, the analogy breaks down very quickly. When was the last time someone asked the designers of the Empire State building to add ten new floors at the bottom, put a pool on the top, and have all of this done before Monday morning? " : Doug Purdy, Microsoft Corporation

  • It is header row. I just dragged the column and placed them into detail section and header shows up in report header which is header row image. It only prints header on first page but not all.

  • Did you check the box for Repeat header rows on each page?

    Do you know where to do this?

    View Siva Gurusamy's profile on LinkedIn

    "Software changes. This is a rather obvious statement, but it is a fact that must be ever present in the minds of developers and architects. Although we tend to think of software development as chiefly an engineering exercise, the analogy breaks down very quickly. When was the last time someone asked the designers of the Empire State building to add ten new floors at the bottom, put a pool on the top, and have all of this done before Monday morning? " : Doug Purdy, Microsoft Corporation

  • In source code find : TablixRowHierarchy

    Under : that you will find following piece of code

    After

    Add 2 lines:

    true

    true

    New Code :

    After

    true

    true

    Done

  • In source code find : TablixRowHierarchy

    Under : that you will find following piece of code

    1)

    2) After

    3)

    Add 2 lines:

    1) true

    2) true

    New Code :

    1)

    2) After

    3) true

    4) true

    5)

    Done!!!!!!

  • In source code find : TablixRowHierarchy

    Under : that you will find following piece of code

    TablixMember

    KeepWithGroupAfter/KeepWithGroup

    /TablixMember

    Add 2 lines:

    RepeatOnNewPagetrue/RepeatOnNewPage

    KeepTogethertrue/KeepTogether>

    Done

  • Hi 🙂

    Please try using the property "RepeatOnNewPage" and keeping the same as "True".

    Thanks alot,

    Niraj

  • Thanks!!!! Works perfect in SSRS 2008. 🙂

Viewing 15 posts - 1 through 15 (of 31 total)

You must be logged in to reply to this topic. Login to reply