How to get page up/page down in tabbed forms

C

CAD Fiend

Hello,

I am making a set of tabbed forms, and want to be able to use the
CTRL-Page Up/Page Down feature that is similar to excel when navigating
across the worksheet tabs. How do I do this?

TIA.

Phil.
 
M

MacDermott

You'd have to use some VBA coding to achieve this in Access.
Set the form's KeyPreview property to Yes, then write code in the form's
KeyDown event to identify the keystrokes you want and provide the
appropriate response.
Remember to set the KeyCode=0 before leaving the routine, so that the key's
normal behavior will be suppressed.
 
Top