OpenText technical experts collaborate with supported customers and partners in the Magellan product area.
BIRT Page Variable "lags behind"
I've set up a table with a group header, and set up a page variable to pass to the master page footer so that I can root aggregated values to the bottom of the
page. My problem is this lags behind by a group record. So for the first record it doesn't update the value in the master page footer, and then for the next record it updates it but for the previous records values.
My script is set up as so:
In the group header row's onCreate function I have:
and in the reports onPageStart i have:
vars["summedPriceEach"] = reportContext.getPersistentGlobalVariable("currentSummedPriceEach");
The display in the footer is just an AutoText variable getting the page variable I set up called "summedPriceEach".
This is all done using the classicmodels data source for an example.
Anyone got any idea how I can alter what I'm doing so that it updates it on the current page including the first page?
Using Birt Version 2.6.1 (can't update this unfortunately)