Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to reference more than one row of a dataset in a dynamic text element
How to reference more than one row of a dataset in a dynamic text element [message #754051] Mon, 31 October 2011 15:26 Go to next message
Mike Wulkan is currently offline Mike WulkanFriend
Messages: 141
Registered: July 2009
Senior Member
I'm wondering if there is a way to reference all the rows of a dataset that is bound to a dynamic text element? The row["some column"] appears to return just the first row of the dataset. Is there some way to get an array reference in order to iterate over the rest?
Re: How to reference more than one row of a dataset in a dynamic text element [message #754194 is a reply to message #754051] Tue, 01 November 2011 10:17 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Mike,

A dynamic text element does not iterate over results. You could use a
hidden table before the dynamic text to load up a javascript array and
then in the dynamic text use it. Not elegant but workable.

Jason

On 10/31/2011 11:26 AM, Mike Wulkan wrote:
> I'm wondering if there is a way to reference all the rows of a dataset
> that is bound to a dynamic text element? The row["some column"] appears
> to return just the first row of the dataset. Is there some way to get an
> array reference in order to iterate over the rest?
Previous Topic:report parameter not set
Next Topic:Trbix emitter
Goto Forum:
  


Current Time: Sat Dec 20 11:38:52 GMT 2014

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

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