locked
Repeat table headers in MS Word RRS feed

  • Question

  • It appears there is no resolution for this issue, but I wanted to double check before telling the project manager this is just a known issue.

    From my research it appears that you cannot export a report to MS Word from SSRS 2008 and have the table header row repeat for every page.   I am able to get the table header row to repeat successfully in Adobe PDF, but the very same report will not print the table header row after the first page in MS Word.

    Is this just a known issue with no resolution?  If so, let me know.

    Thank you,

    T.J.

    Monday, January 14, 2013 8:30 PM

Answers

  • Hi TJ,

    Word does not repeat header rows on page two and greater, although you set the RepeatOnNewPage property of the static header row in a tablix (table, matrix, or list) to True. You can define explicit page breaks in your report to force header rows to appear on new pages. However, because Word applies its own pagination to the rendered report exported to Word, results might vary and the header row might not repeat predictably. The static header row is the row that contains the column headings. However, there is a workaround for this issue, for details please refer to the link below to see Jerry’s reply.
    http://social.msdn.microsoft.com/Forums/is/sqlreportingservices/thread/fd58a159-7462-46d8-af44-2d6eb33066fe

    If you have any questions, please feel free to ask.

    Regards,
    Charlie Liao

    If you have any feedback on our support, please click here.


    Charlie Liao
    TechNet Community Support

    • Proposed as answer by Avanish Tomar Tuesday, January 15, 2013 3:47 PM
    • Marked as answer by Charlie Liao Wednesday, January 23, 2013 6:56 AM
    Tuesday, January 15, 2013 1:39 AM

All replies

  • I forgot to add.  We are still on Office (MS Word) 2007, if that makes any difference.  We are upgrading to Office 2010 later this year.
    Monday, January 14, 2013 8:51 PM
  • I just noticed that in print preview on MS Excel, the margines do not save correctly and the header row does not repeat on every new page as well.

    Monday, January 14, 2013 10:02 PM
  • Hi TJ,

    Word does not repeat header rows on page two and greater, although you set the RepeatOnNewPage property of the static header row in a tablix (table, matrix, or list) to True. You can define explicit page breaks in your report to force header rows to appear on new pages. However, because Word applies its own pagination to the rendered report exported to Word, results might vary and the header row might not repeat predictably. The static header row is the row that contains the column headings. However, there is a workaround for this issue, for details please refer to the link below to see Jerry’s reply.
    http://social.msdn.microsoft.com/Forums/is/sqlreportingservices/thread/fd58a159-7462-46d8-af44-2d6eb33066fe

    If you have any questions, please feel free to ask.

    Regards,
    Charlie Liao

    If you have any feedback on our support, please click here.


    Charlie Liao
    TechNet Community Support

    • Proposed as answer by Avanish Tomar Tuesday, January 15, 2013 3:47 PM
    • Marked as answer by Charlie Liao Wednesday, January 23, 2013 6:56 AM
    Tuesday, January 15, 2013 1:39 AM
  • Hi TJ,

    Word does not repeat header rows on page two and greater, although you set the RepeatOnNewPage property of the static header row in a tablix (table, matrix, or list) to True. You can define explicit page breaks in your report to force header rows to appear on new pages. However, because Word applies its own pagination to the rendered report exported to Word, results might vary and the header row might not repeat predictably. The static header row is the row that contains the column headings. However, there is a workaround for this issue, for details please refer to the link below to see Jerry’s reply.
    http://social.msdn.microsoft.com/Forums/is/sqlreportingservices/thread/fd58a159-7462-46d8-af44-2d6eb33066fe

    If you have any questions, please feel free to ask.

    Regards,
    Charlie Liao

    If you have any feedback on our support, please click here.


    Charlie Liao
    TechNet Community Support


    Thank you Charlie.

    Is this also the case for MS Excel?  When I export the report to MS Excel and then print preview the report I have the same issue (the table header only prints on the first page).

    Tuesday, January 15, 2013 2:42 PM
  • Hi TJ,

    I have tested it on my environment, if we don’t add page breaks to rectangle, data regions, or groups within data regions for a report, then if we export this report to Microsoft EXCEL, all the report contents will be exported into one worksheet, in this case, there has no page break in excel. If we add page break for the report manually, then the report will be exported into multiple worksheets, if we set the tablix header repeat on each, then the tablix header will repeat in each worksheet. For more information about exporting to EXCEL, please see:
    http://msdn.microsoft.com/en-us/library/dd255234.aspx

    If you have any questions, please feel free to ask.

    Regards,
    Charlie Liao


    Charlie Liao
    TechNet Community Support

    Monday, January 21, 2013 2:11 AM