Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Footer does not fire on last page
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00941905
Message ID:
00941962
Views:
20
Give this a try and see if it solves your problem:

1. Create a report variable called rnTotal, set the calculation to SUM, and reset it at the Data Group on Invoice Number.

2. Create a report variable called rlPrintTotal, set it to .f.

3. In the OnExit Expression of the Data Group Footer, use the following expression: _VFP.SetVar(rlPrintTotal, .t.)

4. In the Page Footer, use rnTotal for printing the Total. Set the Print When logic to: rlPrintTotal


I hope this helps,
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
Next
Reply
Map
View

Click here to load this message in the networking platform