Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7.0: Need Page Eject in Group Footer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00657512
Message ID:
00657731
Views:
20
Here's a suggestion. Create a report variable that counts the number of detail lines printed on a page. Figure out how many detail lines will fit on a full page. Add an object at the beginning of your Group Footer that has the following expression: REPLICATE(CHR(13), rnMaxLines - rnLines). Mark this object as Stretch with overflow and then make sure all the other objects in the Group Footer are marked as float. Also make sure you do Send to Back on this new object and that it's at the top of the Group Footer band.

All this should fudge enough blank lines so the rest of your Group Footer automatically flows to the next page.

Cathy

>Hello all -
>
>I've tried some of the solutions posted here, but have not found one to work for me. Here's what I am trying to do.
>
>--- Overview ---------------------------------------------
>I have a single Visual FoxPro 7.0 report form that is being used to provide Invoice Details (in the Detail band), and then the actual Invoice (showing the Total Due) in the Group Footer. I want a PAGE EJECT at the beginning of the Group Footer, so that the actual Invoice appears on a separate sheet of paper.
>
>I've tried embedding a call to a function called PgEject, that simply does an EJECT. Caused many, many blank pages to be ejected.
>
>Any ideas??? Thanks!
>_______________
>_____/ Regards,
>____/ al
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
Reply
Map
View

Click here to load this message in the networking platform