Solved

Reporting Services - Use Parameter to Change/Update Report Title

Posted on 2004-09-27
7
302 Views
Last Modified: 2008-02-01
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
Comment
Question by:hismightiness
  • 4
  • 3
7 Comments
 
LVL 14

Accepted Solution

by:
simon_kirk earned 250 total points
ID: 12169481
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
 
LVL 9

Author Comment

by:hismightiness
ID: 12170769
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
 
LVL 14

Expert Comment

by:simon_kirk
ID: 12171025
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 9

Author Comment

by:hismightiness
ID: 12171668
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
 
LVL 9

Author Comment

by:hismightiness
ID: 12171936
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
 
LVL 9

Author Comment

by:hismightiness
ID: 12183324
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
 
LVL 14

Expert Comment

by:simon_kirk
ID: 12187926
glad you managed to sort it!  New software always involves a learning curve :o)
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

867 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

20 Experts available now in Live!

Get 1:1 Help Now