Solved

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

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

How to use Variables  and Custom code in SSRS report and Assembly reference to use compile shared code in SSRS. Its big question for all who are working with SSRS. It is easy to create assembly and refer in SSRS report, still there are some steps…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

728 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