Solved

Reporting Services - Use Parameter to Change/Update Report Title

Posted on 2004-09-27
7
311 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net and sql server 4 36
SQL Query assistance 16 26
SQL Server Import/Error Wizard error 12 19
SQL Select to Group and Filter Data 5 13
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
I have a large data set and a SSIS package. How can I load this file in multi threading?
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.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

777 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