ACC1x: GP Fault in Datasheet View of a Form

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 : kbusage FmsEvnt
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: March 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.