Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview fine / print random
Message
 
To
08/12/2003 13:26:14
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00856881
Message ID:
00857193
Views:
24
Are you calling the report from a form that has a grid? If so, programmatically take focus off the grid before calling the report. Otherwise, the grid keeps messing with the record position because it's trying to repaint.

Cathy


>I issue a report form command with a for statement with three conditions and a preview along with it. The print preview box comes up correct and in the example I am running based on the conditions, and verifing this at the table level there is 25. The problem is that when I press the print button on the preview screen I get random valid numbers of records showing up. Why is it that the preview also shows up correctly, but I can get random counts on the printout? I thought as the processing of the conditions was done prior to displaying the preview box and the print was just to tell it to dump that result to the printer.
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