Solved

Is there anyway to change the comma delimiter for multiple selections of a parameter in SSRS

Posted on 2010-08-25
6
775 Views
Last Modified: 2012-05-10
I need to allow the users to select more than one parameter value, for example colors, they can select Red, Yellow and Green or just Green.  I know I have to use a split function when feeding this data back to my stored procedure from SSRS, the problem is my data has commas in the name so won't be split correctly all the times. Is there a way for me to change the delimiter in SSRS?
0
Comment
Question by:wilcon
[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
6 Comments
 
LVL 16

Expert Comment

by:vdr1620
ID: 33522737
check this link for Replacing Text in a Field at Run Time

http://msdn.microsoft.com/en-us/library/ms157328.aspx
0
 
LVL 10

Accepted Solution

by:
itcouple earned 500 total points
ID: 33522771
Hi

Yes. When you use Join function is SSRS use can specify different delimeter for instance =Join(@Param, "|") I usually use | as it is quite unique. Your split function in database should also delimiter that you can set as "|"

I hope that helps
Regards
Emil

0
 
LVL 42

Expert Comment

by:dqmq
ID: 33522831
>I know I have to use a split function when feeding this data back to my stored procedure from SSRS

I confess I don't know what you mean by "feeding data back from SSRS".  However, can't you use the replace function to replace comma's in your data with something else and then reverse the process in the stored procedure?

Would be helpful if you could show us the relevant code.
0
 

Author Comment

by:wilcon
ID: 33827918
Updating.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34533080
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

623 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