Disable PageUp and Page Down

G

Guest

I need to disable the {PageUP} and {PageDown} keys in form view to prevent users from moving between records without selecting a command button

Thanks
Calvin
 
P

prabha

Hi Calvin,

See: 208826 ACC2000: How to Disable PAGE UP and PAGE DOWN Keys in a Form
http://support.microsoft.com/?id=208826

I hope this helps! If you have additional questions on this topic, please
respond back to this posting.


Regards,

Eric Butts
Microsoft Access Support

"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."


--------------------
| Thread-Topic: Disable PageUp and Page Down
| thread-index: AcP+57kmJmk7f1dcTeSLq3VDhhWtpw==
| X-Tomcat-NG: microsoft.public.access.forms
| From: =?Utf-8?B?Q2Fsdmlu?= <[email protected]>
| Subject: Disable PageUp and Page Down
| Date: Sun, 29 Feb 2004 09:16:09 -0800
| Lines: 4
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.access.forms
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.forms:257358
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.access.forms
|
| I need to disable the {PageUP} and {PageDown} keys in form view to
prevent users from moving between records without selecting a command
button.

Thanks,
Calvin
|
 
H

Harmannus

Hallo,

Any suggestions on how to enable/disable this for all forms?

Is it possible to set it in a module and call the keycode?

Select Case KeyCode
Case 33, 34 'KeyCodes 33 (&H21) and 34 (&H34) represent PAGE UP and
PAGE DOWN
KeyCode = 0
End Select

Regards,
Harmannus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top