Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » how to combine a detail data to a string?
how to combine a detail data to a string? [message #209604] Fri, 05 January 2007 22:59 Go to next message
Eclipse UserFriend
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
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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
>
>
>
>
>
>
>
>
>
>
Previous Topic:BirtException: $NO-RB$ Can't startup the OSGI framework
Next Topic:Hyperlink with null parameters
Goto Forum:
  


Current Time: Sun Sep 01 05:28:59 GMT 2024

Powered by FUDForum. Page generated in 0.02984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top