Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to suppress printing total until Last Page
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00879836
Message ID:
00882849
Views:
18
Hi Gerard,

Sorry it took me so long to get back with you. I've been out of the office because of a sick child.

I don't know why your VFP 7 report isn't working in VFP 8. I don't know of any change that would explain it. All I can do is offer a suggestion of how to print the totals on the last page of each invoice.

- I'm assuming you have a data group on InvoiceNumber
- Create a report variable called rlEndOfInvoice, set the value to .f.
- In the OnExit expression of the InvoiceNumber Data Group Footer, use the following: _VFP.SetVar('rlEndOfInvoice', .t.)
- In the print when logic of the total stuff in the page footer use the following to print: rlEndOfInvoice

I hope this helps.
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