Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detail2 page prints even when there are no detail2 data
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01321887
Message ID:
01322074
Views:
30
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.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform