Solved

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

Posted on 2011-02-10
3
763 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

13 Experts available now in Live!

Get 1:1 Help Now