Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports Footer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00463285
Message ID:
00463726
Views:
11
>Hi. I have to print a report wich is an invoice. But i have a problem with the last part of the paper, all the items data is shown in the detail section, but i have to print the totals, discounts, etc on an exact part of the paper (near the end), but not in the position thar the report manager sets as group footer. As additional info: i have a data group and have to make the calculations of that data i can't place in the correct place.
>
>Thanks

Put all your total fields in the Page Footer and put a "Print When" condition on them to determine whether or not to print them. Assuming that you have a "Group" based on the invoice number ... set a variable in the program that calls the report.
bEndofInvc = .f.
In the "On Entry" portion of the Group Header, call a procedure that sets bEndofInvc to .f. In the "On Exit" portion of the Group Footer, call a procedure that sets bEndofInvc to .t. Use "bEndofInvc" as the Print When condition in the Page Footer.

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