Solved

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

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Report for VS2013 17 129
Crystal Reports get subgroup count 1 57
SQL query to summarize items per month 5 71
Reformat SQL - so SSRS can read the columns 25 12
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…
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. …

837 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