2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Sergio Alonso Manzanedo - manzanedo Multiple subreports: jasper is not correct? 2003-04-16 01:47 Hi: I am using a lot of subreports (13). When fill process starts it creates 13 threads (one for each subreport). That's ok. BUT my problem is the page height: if subreport's band does not fit on the remaining space on the current page its thread waits, and the next thread fills that remaining space with its data. And when jasper adds a new page, the thread that was waiting is notified and begins to fill in this new page. Conclusion: Report is not presented with the information in the right order. Example: Subreport A (5 records) Subreport B (3 records) Subreport C (1 record) Subreport D (3 records) ... A posible result can be: Begin report A1 A2 A3 B1 B2 A4 A5 B3 D1 C1 D2 D3 End report Where is controlled the remaining space in the source code? Thanks a lot! By: Heinz Haeussler - ecd-haeussler-h RE: Multiple subreports: jasper is not correct? 2003-04-16 02:34 I know that problem too. But you can try the following: Don't use the detail-band, instead place each subreport in a dummy-group with group-expression $V{REPORT_COUNT}. Heinz By: Sergio Alonso Manzanedo - manzanedo RE: Multiple subreports: jasper is not correc 2003-04-21 00:42 Finally it worked. I tried dummy-groups before and didn't work. But as you said, I tried again and it works! Thank you, Heinz. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now