ACC2: GP Fault Using Print Definition from Query Builder

Last reviewed: May 14, 1997
Article ID: Q135489
The information in this article applies to:
  • Microsoft Access version 2.0

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 : FmrOthr kberrmsg kbusage
Version : 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.