cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Parameter values

Former Member
0 Kudos
65

Using Crystal Xi - If I create a Parameter that can have multiple values selected, how do I see all of the values? I have 4 values - and if I select 2 or 3 of them - on the report the field only shows 1. Also how do I look at the multiple values in code, EG If parameter contains "opta" or "Optb" do this....

Thanks for any help

Phil

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

create a formula

Global stringVar M1;

local numbervar L;

IF {Command.x} = "xxxxxxxxxxxxx" AND {Command.xx} ={?xxxxxx} THEN

M1 := M1 & {Command.xxxxxxx} & ";" ;

M1

May help.....

Thanks,

Ganesh

Former Member
0 Kudos

Hi,

If I understand correctly, you want to see the list of parameter values selected.

If so, Assuming your parameter field is ParaCustNo.

What you need to do is:

Create a formula that include the following

Join(ParaCustNo,",")

You are using the Join function to combine the array value and seperate it with coma.

Former Member
0 Kudos

Thanks Shwu Hua Gan

Didnt know about the Join command - thanks very much.

Phil