how to combine a detail data to a string? [message #209604] |
Fri, 05 January 2007 22:59 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: chaohua.wang.premierata.com
Hi, folks,
a sudent name Tim, he takes 3 calss. math, english, and history.
Tim in group head of report,
math, english and histort are in detail
so report like this:
Name : Tim
Courses:
math
english
history
But if i need to combine 3 courses in a string, then put it into group head,
how to do that?
for example:
----------------
Name : Tim
Courses: math, english, history
-------------------------------
Thank you!
Chaohua
|
|
|
Re: how to combine a detail data to a string? [message #209822 is a reply to message #209604] |
Mon, 08 January 2007 15:58 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
|
You should be able to just do string concats of the data set
dataSetRow["CUSTOMERNUMBER"] + "--" + dataSetRow["ORDERNUMBER"]
Make sure that the data item is defined as a String in the Expression
Builder.
Jason
"chaohua" <chaohua.wang@premierata.com> wrote in message
news:enml8j$5vq$1@utils.eclipse.org...
> Hi, folks,
>
> a sudent name Tim, he takes 3 calss. math, english, and history.
>
> Tim in group head of report,
> math, english and histort are in detail
>
> so report like this:
>
> Name : Tim
> Courses:
> math
> english
> history
>
> But if i need to combine 3 courses in a string, then put it into group
> head, how to do that?
> for example:
> ----------------
> Name : Tim
> Courses: math, english, history
> -------------------------------
> Thank you!
> Chaohua
>
>
>
>
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds