MS SQL Reporting (Repeat column headers on new pages in RDL)

mrong
mrong used Ask the Experts™
on
greetings,

I need to repeat column headers on all pages(PDF) in rdl report(VS 2008).
I already checked the feature of "Repeat header columns on each page" in Tablix properties
but no luck.

Please suggest.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Engineer
Commented:
Hi,

On right side of the Grouping pane, click the down arrow, and then click Advanced.
Now you should see the grouping list different.
Click the static tablix member for the row that you want to repeat.
Then in the properties window you have two properties "KeepWithGroup" and "RepeatOnNewPage".
Set KeepWithGroup Before or After depending on your selected member and RepeatOnNewPage to True.

Regards,
Mishu

Author

Commented:
Mishu,

I tried your suggestion but got the following error msg.

The tablix 'table1' has an invalid TablixMember. All TablixMember elements in TablixColumnHierarchy must have the KeepWithGroup property set to "None'.

Any idea? Thx

Author

Commented:
Mishu,

It is working now. The only issue is the headers won't show on the last page of the PDF output.

Any suggestions?

Thanks.
Mihai StancescuSoftware Engineer

Commented:
Hi,

Try setting the KeepWithGroup to After.
Also if you have multiple rows in the table header you must do the steps in my previous post for every column.


Regards,
Mishu

Author

Commented:
Mishu,

I had KeepWithGroup set to 'After' before.
I'm repeating group headers not table headers.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial