Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form to file going to printer
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01041256
Message ID:
01041311
Views:
22
Make sure the printer environment is not saved with the report. Maybe that is interfering with the output.

Occassionally, printing to NULL can create incorrect page counts. Make sure you print to a temporary file such as this:
lcFile = SYS(2015) + ".tmp"
REPORT FORM MyReport NOCONSOLE TO FILE &lcFile
lnPage = _PAGENO
ERASE (lcFile)
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