SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Make a list in the textbox based on selection


Make a list in the textbox based on selection

Author
Message
akirajt
akirajt
SSC Journeyman
SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)

Group: General Forum Members
Points: 78 Visits: 191
Goal:
Based on the selection, I want to have them displayed, in the text box, as a list for instance.

Canada,
xxxxxx,
xxxxx,
xxxxx,
xxxx,
xxxx,
xxx
etc.

Not this:
Canada, xxxxxx, xxxxx, xxxxx, xxxx, xxxx, xxx


Problem:
How should I do it?

Information:
The data source is SSAS.
Attachments
picture1.png (11 views, 254.00 KB)
picture4.png (6 views, 133.00 KB)
Paul Keys
Paul Keys
Mr or Mrs. 500
Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)Mr or Mrs. 500 (519 reputation)

Group: General Forum Members
Points: 519 Visits: 1843
Hi,

If you're currently using =join(Parameter,",") to split the parameter into the horizontal list, you could try changing this to =join(Parameter,vbcrlf) to specify the multivalue parameter list should be delimited by a carriage return/line feed rather than a comma.

So in your case this would be

=join(Parameters!geo.Label,vbcrlf)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search