on 04-18-2016 11:56 AM
Hi Experts,
i have one parameter which is having multiselection in my report and need to capture the selected values
my paramters list of values are like below
Access Level1
Access Level2
Access Level3
Access Level4
if I selet Access Level1 and Access Level2,Access Level3 i need to show in the report header like Access Level1,2,3
i have used join condition to capture the selecetd value
Join({?Paramtername},",")
it showing like Access Level1,Access Level2,Access Level2 so i need to trim the numbers dynamically
Thank You,
Prasad
Hi Prasad,
If the word 'Access Level' is common for each value in the list, this should work:
"Access Level " & Replace(Join({?Parametername}, ', '), 'Access Level', '')
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prasad,
Please use below code
stringVar array x := split(Join({?Paramtername},","),",");
Local numberVar i;
Local stringVar outputString := "";
For i:=1 to Count(x) do
(
outputString := outputString + mid(x[i],13,1)+","
);
"Access Level"+outputString;
regards
Niraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.