Microsoft KB Archive/135489

= ACC2: GP Fault Using Print Definition from Query Builder =

Article ID: 135489

Article Last Modified on 7/5/2002

-

APPLIES TO


 * Microsoft Access 2.0 Standard Edition

-



This article was previously published under Q135489



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
If you select Print Definition from the File menu while you are in the Query Builder of either a report or form in Design view, a general protection fault occurs. The general protection fault does not occur if you select Print Definition while you are in the Query Builder of a query in Design view.



RESOLUTION
Select Print Definition while you are in Design view of an existing query and not from the RecordSource property's Query builder in a form or report. If the RecordSource property for the form or report is an SQL statement, invoke the Query Builder, and then select Save As from the File menu to save the SQL statement as a query.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access version 7.0.



Steps to Reproduce Problem
WARNING: Following these steps will cause a general protection fault on your computer. Make sure you save and close any open work on your computer before following these steps.  Open the sample database NWIND.MDB. View the Alphabetical List Of Products in Design view. If it is not displayed, open the report's property sheet. Select All Properties, and then click the Builder button to the right of the RecordSource property (currently set to Product List). With the Query Builder dialog box open, select Print Definition from the File menu. In the Print Query Definition dialog box, click the OK button. Note that the following message appears:

Must close query first. Close now?

Click the Yes button.</li> Note that you receive the following error message:

An error has occurred in your program. To keep working anyway, click Ignore and save your work in a new file. To quit this program, click Close. You will lose information you entered since your last Save.

This message is followed by a message that states that Microsoft Access will be shut down.</li></ol>

Keywords: kberrmsg kbbug kbusage KB135489

-

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

© Microsoft Corporation. All rights reserved.