Solved

Group name in page header SSRS 2008R2

Posted on 2010-09-23
4
2,985 Views
Last Modified: 2012-05-10
I am using table in report and doing grouping based on employee name. Whenever the employee name changes in hte group header ,it has to update that employee name in hte TextBox in page header. I tried the expression =First(reportItems!Employeename.Value), but it is not working for all pages,because some pages have only details and group header are in previous pages. How
to update the textbox in the page header with current group employee name.

Thanks in advance
0
Comment
Question by:KavyaVS
  • 2
4 Comments
 
LVL 28

Expert Comment

by:sammySeltzer
Comment Utility
The best way to handle this is to completely delete the page header and then using the toolbox to the left of the designer, create a header off of the body and then your update should work.

Header columns are usually static and are unaffected by query/update changes.
0
 

Author Comment

by:KavyaVS
Comment Utility
My report should have the page header. I can't do what you suggested and I am not updating the text box in the page header with column header.
I do want to update the textbox in the page header with the group name. I did grouping with employee name.Whenever the new group starts the group name has to showing up in the text box. Is there any expression to display the group name in the textbox.
I tried this expression =First(reportItems!Employeename.Value) and it displays the first occured employee
name in that page in page header's text box. But if details span multiple pages and group header is not
there in that page no employe name is displayed in the text box.

Any adivces please.
0
 

Accepted Solution

by:
KavyaVS earned 0 total points
Comment Utility
I tried this. Set the group properties in property pane, Page Break at the END of the group and PageName property to the Group variable. I refer the Page Name in the text box in Page Header as  Globals!PageName.
Now it is updating the Group name in Page Header.

             
      
      
0
 

Expert Comment

by:mychair
Comment Utility
"I tried this. Set the group properties in property pane, Page Break at the END of the group and PageName property to the Group variable. I refer the Page Name in the text box in Page Header as  Globals!PageName.
Now it is updating the Group name in Page Header."  

This is a good solution, but it only works in R2.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now