ACC2: GP Fault Using Print Definition from Query Builder

ID: Q135489

The information in this article applies to:

SYMPTOMS

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

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.

MORE INFORMATION

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.

1. Open the sample database NWIND.MDB.

2. View the Alphabetical List Of Products in Design view.

3. 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).

4. 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.

5. Note that the following message appears:

      Must close query first. Close now?

   Click the Yes button.

6. 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.
Keywords          : kberrmsg kbusage FmrOthr 
Version           : 2.0
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbbug

Last Reviewed: May 15, 1997