Displaying arrays in BIRT [message #543738] |
Wed, 30 June 2010 08:55  |
Eclipse User |
|
|
|
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 #997109 is a reply to message #997006] |
Thu, 03 January 2013 13:06  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02287 seconds