Microsoft KB Archive/160063

= BUG: When you print an unconverted FoxPro 2.x report from the Report Preview toolbar, the application quits in Visual FoxPro for Windows 5.0 and in Visual FoxPro for Windows 6.0 =

Article ID: 160063

Article Last Modified on 2/8/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q160063



SYMPTOMS
In Visual FoxPro 5.0 and in Visual FoxPro 6.0, using the Print button in the Report Preview toolbar to print an unconverted FoxPro 2.x report causes Visual FoxPro to terminate with an Invalid Page Fault.



WORKAROUND
To work around this problem, convert the 2.x report to Visual FoxPro 5.0 format or to Visual FoxPro 6.0 format before using the Print button in the Report Preview toolbar to print the report.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
Visual FoxPro 5.0 or Visual FoxPro 6.0 allows you to preview or print an unconverted report that was created using previous versions of FoxPro. Visual FoxPro 5.0 or Visual FoxPro 6.0 terminates, however, if you try to print an unconverted FoxPro 2.x report in the preview mode using the Print button on the toolbar. This behavior does not happen in Visual FoxPro 3.0 because Visual FoxPro 3.0 does not have the Print button for the report preview toolbar.

Steps to Reproduce Behavior
 Create a quick report in FoxPro 2.x. (Using the customer table in the \Tutorial folder.) Run Visual FoxPro 5.0 or Visual FoxPro 6.0. Without converting the 2.x report, in the Command window, type in the following command:

REPORT FORM <2.x reportname> PREVIEW

 When the preview comes up, press the Print button on the Report Preview toolbar to print the report.

NOTE: Visual FoxPro terminates at this point with an Invalid Page Fault.

Additional query words: kbdse vfoxwin

Keywords: KB160063

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.