Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keep detail band on same page
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
00958299
Message ID:
01000433
Views:
26
Hi Cathy -
Any thoughts on how to keep a group together so it doesn't split over a page boundary? Recno() works for the detail band but what about a group band?


>In VFP 9, this can be done with a ReportListener and I show how in my >whitepaper on the MSDN website. However .. I'm guessing you need a solution >for a previous version. If you can make an assumption about the maximum >amount of room needed for each detail band, you can do this...

>1. Create a data group with an expression of RECNO().
>2. Set the data group to start a new page when less than ?? inches.

>Cathy


>Is there a way to keep a detail band together on the same page so it does not split and flow over onto a second page?
>
>I have a report with a tall detail band of about 1/4 page height. Thus after the headers I normally get 3 records per page. If some of the data associated with the early records causes the controls to stretch, it forces a portion of the last record to split and run over onto the next page. I'd like to avoid this behaviour and start a new page if there is not enough room for the entire record. Any ideas on how to do this?
>
>Thanks for any help.
Cathy Pountney, Microsoft Visual FoxPro MVP
Optimal Solutions, Inc. (www.optimalinternet.com), eVideon (www.evideon.com), Frontier Software Solutions, Inc. (www.frontier2000.com)

The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond (www.hentzenwerke.com)
What's New in the VFP 9.0 Report Writer
The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform