Solved

Group name in page header SSRS 2008R2

Posted on 2010-09-23
4
3,310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 33747419
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
ID: 33748383
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
ID: 33761108
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
ID: 35141153
"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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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