ACC1x: GP Fault in Datasheet View of a Form

Last reviewed: May 14, 1997
Article ID: Q96467
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SYMPTOMS

You receive the following error messages when you switch a form to Datasheet view:

  • An error has occurred in your application. If you choose Ignore, you should save your work in a new file. If you choose Close, your application will terminate.
  • MSACCESS caused a general protection fault in MSACCESS.EXE.

CAUSE

A macro is assigned to the form's OnCurrent property, and the macro includes a GoToControl action that sets the focus on a control located in the page header section. There is no visible page header section when you view the form in Datasheet view.

RESOLUTION

If you are using a macro that includes a GoToControl action that sets the focus on a control located in the page header section of the form, do not view the form in Datasheet view.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a GoToControl macro that goes to any control on a form, and then assign the macro to the OnCurrent property of the form.

  2. Place this control in the page header section of the form.

  3. View the form in Datasheet view.


Additional query words: GPF
Keywords : FmsEvnt kbusage
Version : 1.0 1.1
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.