|
Re: Passing sub report totals to expressions [message #931829 is a reply to message #931311] |
Wed, 03 October 2012 15:09 |
|
There are several ways this can be done. One way is to implement an oncreate script for each of the data items and store the value using reportContext.setGlobalVariable. You can then use this value later. Look at the attached example. I created two datasets. Both are just queries on the orderdetails sample table. In the outer table I added three table footer rows. In the middle footer row I inserted an inner table. Look at the oncreate script for the three data items with red background.
BTW another option is to use both datasets in a cube and then display the results in a crosstab.
Jason
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03981 seconds