Solved

# Crystal Reports 2011 (Subscript/array required)

Posted on 2012-03-29
424 Views
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?)
0
Question by:wshcraft70

LVL 77

Accepted Solution

peter57r earned 500 total points
ID: 37782600
Create a formula field....

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

This will display for example..

a, b, c
0

LVL 1

Author Closing Comment

ID: 37782734
Perfect..  THANK YOU VERY much!!!  :D
0

## Featured Post

### Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…