views:

2247

answers:

5

Out of the box SSRS reports cannot have data exposed in the page header. Is there a way to get this data to show?

+3  A: 

You have to do it through Parameters. Add a parameter for each piece of data you would like to display, then set the parameter to Hidden. Then set the default value to "From Query" and set the Dataset and Value field to the appropriate values.

Orion Adrian
A: 

Here are two possible workarounds:

  1. You can place the databound field within the body of the report as a hidden textbox, and then in the header place another textbox with it's value pointed at the the one hidden within the body.

  2. Try using report parameters to store the data, and use those parameters to access the data in the header.

ipstset
+4  A: 
Chris Woodruff
+1  A: 

This technique wouldn't work if your report spans over multiple pages, use queried parameters instead, and set the textbox value to =Parameters!Name.Value as per this article.

roman m
It works very well, I do it in long reports spanning multiple pagesWhat you need to do, is to watch where you put your placeholder fields, I use an table to show tabular data, and creates extra columns which I hide. no problem at all.
neslekkiM
This doesn't work if the table doesn't span all of the pages in the report.
AaronSieb
A: 

I'm with Orion Adrian here. Report parameters are the way to go.

Gary B