IMO .. this is a flaw in the design of multiple detail bands. If you have headers and footers around the band, it always processes them, even if there aren't any details for that band. I haven't come up with a way to work around this yet. I'm sure there's some complex ReportListener concept that could do it, but I haven't had the time to figure it out.
Cathy
>Hi All,
>
>I already asked for help in thread #
1319611, but so far to no avail. So I ask again.
>
>On a report I must show detail1 data on a new page and detail2 data on a next page. I succeed in printing detail1 data on a new page and detail2 data on a next page, but a detail2/next page is even generated if there are no detail2 data to print. It gives an empty page (apart from a header/footer).
>
>For this case I have created a zipfile. It can be downloaded here:
http://hyp.viafox.nl/ut/testcase_emptypages.zip>
>I have tried all combinations I could think of. Nothing helps, or it creates another issue. Help is very much appreciated.