Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detail Band Size
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01084917
Message ID:
01085160
Views:
16
This message has been marked as the solution to the initial question of the thread.
What VFP does is just before it prints a band, it looks at the height of the band -- as defined -- and then goes to a new page if there isn't enough room to print that band. So you are correct in assuming that it does not evaluate the print when logic.

You are almost correct in everything said. The only thing that is slightly wrong is that you indicated it looks at the largest band. That part is not true. It is looking at EVERY band .. one at a time .. and determines whether it fits. In your case, when it evaluates the large band, it doesn't think it fits so it goes to a new page, even though you aren't printing anything in that band. Then everything after that band ends up on the next page.

Unfortunately ... I don't have any workaround for you.

Cathy



>On a report I have 5 detail bands. One of the bands is about 4 inches in height, the others are very small, about 1 inch. Print whens determine if data in a band prints or not.
>
>The problem is the report designer seems to determine if a new page should print based on the biggest band, regardless of the print whens. So, if the big band is not printing but a small one is, it might leave 3 inches or more on the bottom of the page and print the small band on a new page. Is there anyway to make the designer determine if a new page should print dynamically, depending on which band is printing?
>
>(Even if I set the "Start Detail set on new page when less than" on each band, it still seems to use the value of the largest band to make the determination).
>
>TIA!
>
>Rob
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