Solved

SSRS - how can I allow the user to edit default parameter values at run time

Posted on 2011-02-10
3
874 Views
Last Modified: 2012-08-13
I have a bunch of reports that I am converting from Crystal Reports to Reporting Services.  The only stumbling block I have is a report which has a report parameter in Crystal that has three default values and has a check box ticked for "Allow editing of default vaules when there is more than one value".  SSRS doesn't seem to have anything like this at all.

Can anyone assist, or advise of a good workaround.

Basically, the user would be presented with the three values in a drop down list but they can actually type in their own if they don't want one of the default values.

Many thanks,
Howie
screenshot-editingdefaultvalues.JPG
0
Comment
Question by:howie999
[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
3 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 34872704
In SSRS, report parameters are always editable by the user.  Have a look at Lesson 2 & 3 here to get started with (multi-value) parameters: http://msdn.microsoft.com/en-us/library/aa337432.aspx

Let me know if you have any further questions on this.
0
 

Author Comment

by:howie999
ID: 34876840
Thanks for your reply.  I know that the user can make a selection from the multi-select drop down list.  IE, they can choose one or more values.  But I wanted them to be able to also type in their own value which this control doesn't let them do.  I have instead left the multi select but added a further text box so that the user can enter a further value there if they wish.  I think that's the best option.  Thanks for your help.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 34877302
Ah, that's what you meant!  Well, as you have found out, combining the list of default values with free text input from the user is not possible through the same parameter.  A second parameter, as you have done, is probably the most interesting workaround in this case.

What I do want to add: isn't there any way to avoid the users entering their own values?  I always try to avoid that, too many typo issues and so on...  Perhaps a small config app can help here?
(just my thoughts though, I can understand that in your company it's not an issue because users are used to that way of reporting)

Best regards, Valentino.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
This code started out as a fix for a customer that had incoming data that was hunderds of numbers and words long that was to fit in one column. The problem was that the customer did not want to split words or numbers when wrapping in the column. …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

634 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