| how to combine a detail data to a string? [message #209604] | 
Fri, 05 January 2007 17:59   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 10:58   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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.11132 seconds