Microsoft KB Archive/282047

= Printing reports causes Exception C0000005 Error or incorrect output =

Article ID: 282047

Article Last Modified on 2/21/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition
 * Microsoft Visual FoxPro 7.0 Professional Edition
 * Microsoft Visual FoxPro 8.0 Professional Edition
 * Microsoft Visual FoxPro 9.0 Professional Edition

-



This article was previously published under Q282047



SYMPTOMS
When you print a report, you may receive the following error message:

Fatal Error: Exception C0000005

You might also see incorrect output such as incorrectly spaced information, incorrect fonts, or ASCII characters inserted in the report. Furthermore, the data may print incorrectly.



CAUSE
These problems may occur if the Tag and Tag2 fields of the report have printer code for a printer that is not currently being used.



RESOLUTION
To work around to the problem, delete the contents of the Tag and Tag2 fields. The following code shows how to do this: *!* Q282047: PRB: Printing Reports Causes Exception Error C0000005 *!* Replace MyReport with the name of your report. USE MyReport.FRX BLANK FIELDS Tag, Tag2 USE

