Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Displaying arrays in BIRT
Displaying arrays in BIRT [message #543738] Wed, 30 June 2010 12:55 Go to next message
mkrivic Mising name is currently offline mkrivic Mising nameFriend
Messages: 33
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 11:54 Go to previous messageGo to next message
rodolfo bernales is currently offline rodolfo bernalesFriend
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 18:06 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
Previous Topic:please delete duplicate
Next Topic:Needing some help to show data
Goto Forum:
  


Current Time: Fri Mar 29 09:14:08 GMT 2024

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

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

Back to the top