Crystal Reports 2011 (Subscript/array required)

I've got a parameter that allows for multiple selections.

A
B
C
D
E

If the user selects "A" from the group, I have a formula that prints "A" as the title of the report.

However, if the user selects A, B, C all at once, I'd like the formula to print all three on the report title.

Currently my formula is:

if {?GROUP} = "A" then "A" else
if {?GROUP} = "B" then "B" else  (and so on for each individual choice)

But here is where I get stuck..

If {?GROUP} = "A" and "B" and "C" then (what does my formula need to look like to print all?)
LVL 1
wshcraft70Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
peter57rConnect With a Mentor Commented:
Create a formula field....


local stringvar result;
result:=join({?group},", ");
result

This will display for example..

a, b, c
0
 
wshcraft70Author Commented:
Perfect..  THANK YOU VERY much!!!  :D
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.