Article ID: 132031 - View products that this article applies to.
This article was previously published under Q132031
This article has been archived. It is offered "as is" and will no longer be updated.
Moderate: Requires basic macro, coding, and interoperability skills.
This article describes how you can disable the PAGE UP and PAGE DOWN keys in a form by using the new KeyPreview property of forms that was introduced in Microsoft Access 7.0.
NOTE: This article explains a technique demonstrated in the sample files, FrmSampl.exe (for Microsoft Access for Windows 95 version 7.0) and FrmSmp97.exe (for Microsoft Access 97). For information about how to obtain these sample files, please see the following articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/150895/EN-US/ )ACC95: Microsoft Access Sample Forms Available in Download Center
(https://support.microsoft.com/kb/175066/EN-US/ )ACC97: Microsoft Access 97 Sample Forms Available in Download Center
To disable the PAGE UP and PAGE DOWN keys in a form, follow these steps:
REFERENCES:For more information about the KeyPreview property, search for "KeyPreview property," using the Microsoft Access 97 Help Index.