Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Access dataset results during report initialize
Access dataset results during report initialize [message #901062] Thu, 09 August 2012 15:06 Go to next message
zubin Missing name is currently offline zubin Missing nameFriend
Messages: 32
Registered: July 2009
Member
I am wondering if this is possible to get the dataset results during the initialize or beforeFactory.

Here is what i am planning to do, I am trying to create report layout dynmaically. There is a dataset for example 'layout' that holds the order of the components and other layout info. The report will be created component dynamic based on what data the 'layout' has. Hence, i want to read through the 'layout' object at the begining.

appreciated.

p.s I am using scripted data source.

[Updated on: Thu, 09 August 2012 16:10]

Report message to a moderator

Re: Access dataset results during report initialize [message #901121 is a reply to message #901062] Thu, 09 August 2012 21:19 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Currently the only way we have to do that is to call the data engine api
in the beforeFactory and based on the results use the de api to add or
modify the report. Attached are some examples.

Jason

On 8/9/2012 11:06 AM, zubin Mising name wrote:
> I am wondering if this is possible to get the dataset results during the
> initialize or beforeFactory.
>
> Here is what i am planning to do, I am trying to create report layout
> dynmaically. There is a dataset for example 'layout' that holds the
> order of the components and other layout info. The report will be
> created component dynamic based on what data the 'layout' has. Hence, i
> want to read through the 'layout' object at the begining.
>
> appreciated.
Previous Topic:Dynamically set table name in onPrepare method
Next Topic:To create table detail cell/grid row dynamically based on dataset
Goto Forum:
  


Current Time: Fri Dec 19 13:53:38 GMT 2014

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

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