Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print footnote on the last page only
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00754364
Message ID:
00754452
Views:
32
>Hi..... Suppose I design an Invoice which every invoice has footnote to be printed on the last page of the invoice. However I could not put on to summary banner, as it is printed only once. I want it is printed per invoice.
>How can I do it? Is there any variable to force to go to next page?
>
>Thanks.....for your help.


- Create a Data Group on the Invoice Number and tell it to start on a new page.

- Create a Report Variable called rnCount, set it to COUNT and tell it to reset at "End of Invoice".

- In the On Exit expression of the Group Footer, put the following command: _VFP.SetVar('rnCount', 0)

- Put the objects you need to print in the Page Footer and set the Print When expression to "rnCount = 0".


Just keep in mind that the report writer will still reserve the space defined in the Page Footer for every page, regardless of whether the items are being printed.

Cathy
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