Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Displaying arrays in BIRT
Displaying arrays in BIRT [message #543738] Wed, 30 June 2010 08:55 Go to next message
mkrivic Mising name is currently offline mkrivic Mising name
Messages: 32
Registered: May 2010
Member
Hi,,

I have the following situation:

on rptdesign on initialize, I am creating an array which collect some data.

Then, I have two datasets in this rptdesign:


- dataset1 has a input parameter which receives some value

- then, this parameter is input for getting some data which my array collect

- then, I display this array in other dataset, ex: dataset2


I want to get this situation, example:

input 223 (dataset1)
-------------------------
dataset2:
output: 223_1
output: 223_2
output: 223_3

input 224 (dataset1)
-------------------------
dataset2:
output: 224_1
output: 224_2
output: 224_3

input 225 (dataset1)
-------------------------
dataset2:
output: 225_1
output: 225_2
output: 225_3


these values (223,224,225) I have as a input parameter displayed in listbox.
So, when I choose 223, I get next:


input 223 (dataset1)
-------------------------
dataset2:
output: 223_1
output: 223_2
output: 223_3

(that's satisfying)

Then, when I choose 223 and 224 together, I get next:

input 223 (dataset1)
-------------------------
dataset2:
output: 224_1
output: 224_2
output: 224_3

input 224 (dataset1)
-------------------------
dataset2:
output: 224_1
output: 224_2
output: 224_3


etc etc...

For both datasets with different input parameters (dataset1), I am getting same values,and as you can see, these values belong to input of 224. Then, If I choose all three parameters together (223,224,225), I get in every row of dataset2 values of last parameter (225) etc etc...

So, my question is next: What I must to do to get for each input parameters their values to be displayed in dataset2?
I tried with cleaning of array on every fetch, but not helping...

And, If I must clean array in some step, where that should be the best (onCreate, OnRender...)?

Thanks,

Milan
Re: Displaying arrays in BIRT [message #997006 is a reply to message #543738] Thu, 03 January 2013 06:54 Go to previous messageGo to next message
rodolfo bernales is currently offline rodolfo bernales
Messages: 1
Registered: January 2013
Junior Member
My friend do you have any solution for this? i have a similar problem.

if you know something new can you send me a email to rodolfo.bernales@gmail.com

Thanks!
Re: Displaying arrays in BIRT [message #997109 is a reply to message #997006] Thu, 03 January 2013 13:06 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

rodolfo,

Can you explain your issue? You're just wanting the second dataSet to return the details for the first dataSet's values and display them in the report? What are your dataSet types? If you can reproduce your issue in a sample report that I can run, that'd be helpful, too.


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:please delete duplicate
Next Topic:Needing some help to show data
Goto Forum:
  


Current Time: Mon Sep 01 14:48:49 EDT 2014

Powered by FUDForum. Page generated in 0.10487 seconds