ACC1x: GPF Hiding Control in Form Footer in Datasheet View

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

SYMPTOMS

If you have a control in the footer of a form and you then hide that control in an event, such as OnCurrent, and then view the form in Datasheet view, Microsoft Access may cause a general protection (GP) fault.

CAUSE

In Datasheet view, Microsoft Access incorrectly assumes that a grid column is associated with the field being hidden. However, that is not true in this case, because the control is in the form's footer.

RESOLUTION

Because forms with controls in the footer are normally meant to be used in Form view, set the Form's ViewsAllowed property to Form so that the form cannot be switched to Datasheet view.

STATUS

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


Keywords : FmsEvnt kbusage
Version : 1.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.