Hi Teodor,
I just have a customer who want's to print the "carry over" at each page-bottom (and page header at next page)
I already tried that some months (I guess even years) ago and stranded at some circumstances where a simple Variable at pagefooter and pageheader had wrong values.
Now I found out how to reproduce that behaviour (working with 2.0.2)
Following scenario:
1.) I have to work with DUMMY GROUPS because I have different layouts for certain field conditions (So at each DummyGroupHeader I have different SubReports --> works fine for years so far)
2.) a DummyGroupheader has a price-field at line 1
3.) at line2 there is a TextField that has StretchWithOverflow=true and could contain many lines of text
4.) if the last dummygroupheaderband at page 1 is rendered the price is printed at page 1. But now there is not enough space to render the whole text so the page breaks (ok so far).
5.) the variable in page-footer should sum up the prices, this works fine EXCEPT if the band splits over two pages! In this case, the sum doesn't contain the last price from current page.
I created a TestBug Sample out of the standard JasperReport-DataSource Sample that I do attach at this tracker as ZIP File. Just call the ANT Task "testbug" that shows my problem. A screenShot and a sample PDF is included also.
Would be great if you could find the reason for that bug.
regards from sunny Germany
C-Box
Recommended Comments