• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Reporting Services - Use Parameter to Change/Update Report Title

Does anyone know of a way to use the parameter chosen in a parameterized Report and update the report title?  There has to be a trick to do this.

Also, on the horizontal bar charts, no matter what I do - the bar on the bottom never shows the label on the report server, but always does on the report viewer through Visual Studio.  It is only the bottom bar.  How do I get around this?  Why is it happening?
0
hismightiness
Asked:
hismightiness
  • 4
  • 3
1 Solution
 
simon_kirkCommented:
Hi,

I can answer the first part of your question concerning the report parameter.

1. Create a textbox on your report
2. Right click and select expression
3. In the fields box on the the left of the dialog that opens, you can select the parameter that you need

Simon
0
 
hismightinessAuthor Commented:
Your example of using a TextBox is a life saver.  However, no matter what I have done so far it keeps showing up at the bottom of the report.  I cannot get it to the top (above the header).  I have set the location to 0, 0 - and I have incremented it slowly to see if there was a difference.  Once again, it looks fine in Visual Studio's report viewer, but once I upload it to the report server, it drops the textbox to the bottom of the report.  Any suggestions???
0
 
simon_kirkCommented:
Is the textbox that you've created within the Header or Body section of the report?

I've found that Reporting Services can be a bit stubborn if you put textboxes that are referring to data within the Header section.  As long as your textbox is at the top of the body section, there is no obvious reason why it should not appear there when you deploy the report.  If you do not need to use the header within the report, then its best to remove it or resize it to zero so that you don't get blank space.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
hismightinessAuthor Commented:
The textbox is located within the Body section.  I am not using the Header or Footer for this report.  It is just a standard horizontal bar graph, now with the textbox you suggested.  The only true modifications I have made are the Height/Width properties, and the Point Label text at the end of each bar.
0
 
hismightinessAuthor Commented:
Well, I fixed the problem with the bottom number not showing up right.  I wasn't deploying the reports correctly.  Duh!

Do you have any more ideas on the textbox still showing up on the bottom of the report?
0
 
hismightinessAuthor Commented:
Argh!  The most simple thing was being overlooked.  I simply double-clicked the textbox control and it was placed (0,0) on the report.  I didn't even think to resize the chart to start just below the textbox.  

Well, it looks like you answered one of my questions though.  Don't be offended by the grade though.  You only had one of the answers.  Have a good one...  THANKS AGAIN!
0
 
simon_kirkCommented:
glad you managed to sort it!  New software always involves a learning curve :o)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now