Sorry, it's chr(13).
Here is a working example. Put this in a formula field. Place the formula
field in your report and make sure that the "can grow" checkbox is checked.
local stringvar
entrylist:="joe,carol,sean,sarah,laura,maureen,andrew,sydney,claudia,owen,ba
iley";
shared stringVar array entlist:=split(entrylist,",");
local numbervar i;
local stringvar returnvalue;
for i := 1 to ubound(entlist) do(
returnvalue:=returnvalue & entlist[i] & chr(13);
);
returnvalue;
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Sean McDaniel
Sent: Sunday, March 08, 2009 11:39 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Vantage Crystal "split" problem
Loop through the array concatenating each item with & chr(15) return this
string.
-----Original Message-----
From: k2lamm <karl_a_lamm@...
<mailto:karl_a_lamm%40lesueurinc.com> >
Sent: Sunday, March 08, 2009 9:48 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: Vantage Crystal "split" problem
I'm sorry... I am a newbie with Crystal. I understand your reply but still
do not know how to get this string of comma separated values to
display/print with each entry being on a separate line. Any additional help
would be greatly appreciated.
Thanks.
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Sean
McDaniel" <smcdanie@...> wrote:
[Non-text portions of this message have been removed]
Here is a working example. Put this in a formula field. Place the formula
field in your report and make sure that the "can grow" checkbox is checked.
local stringvar
entrylist:="joe,carol,sean,sarah,laura,maureen,andrew,sydney,claudia,owen,ba
iley";
shared stringVar array entlist:=split(entrylist,",");
local numbervar i;
local stringvar returnvalue;
for i := 1 to ubound(entlist) do(
returnvalue:=returnvalue & entlist[i] & chr(13);
);
returnvalue;
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Sean McDaniel
Sent: Sunday, March 08, 2009 11:39 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: Vantage Crystal "split" problem
Loop through the array concatenating each item with & chr(15) return this
string.
-----Original Message-----
From: k2lamm <karl_a_lamm@...
<mailto:karl_a_lamm%40lesueurinc.com> >
Sent: Sunday, March 08, 2009 9:48 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: Vantage Crystal "split" problem
I'm sorry... I am a newbie with Crystal. I understand your reply but still
do not know how to get this string of comma separated values to
display/print with each entry being on a separate line. Any additional help
would be greatly appreciated.
Thanks.
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Sean
McDaniel" <smcdanie@...> wrote:
>the
> This example places your values in the shared array entlist. No limit on
> dimension of the array.[The entire original message is not included]
>
> You can't return an array from a function like this so you need to return
> something other than an array, in this case an empty string.
>
>
>
> shared stringVar array entlist:=split({security.entrylist},",");
>
> ""
>
>
>
[Non-text portions of this message have been removed]