Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last Page in a group
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00958106
Message ID:
00958191
Views:
16
One option is to use the Group Footer band. If you need the graphic printed in the Page Footer instead, here's a trick...

1. Create a Report variable called rnCount, set it to 0, mark it as COUNT, and have it reset on the Data Group.
2. In the OnExit Expression of the Group Footer, use this: _VFP.SetVar('rnCount', 0)
3. Now in the graphic in the Page Footer, use this in the Print When: rnCount = 0


Cathy

>How can I determine whether the report writer is printing a last page of a group as I want to be able to print a graphic only on this page ?
>
>Many thanks in advance for any help on this
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