From a TextBox on one of the Tab Pages, I have to use:
Shift + Tab to set the Focus to a Tab Page and not the TextBox Control
Shift + Tab to set the Focus to the Control just before the TabControl.
If you use it often, set the Form's KeyPreview to Yes/True and use the
Form_KeyDown (?) Event to check for the selected shortcut key to move the
Focus as required.

Signature
HTH
Van T. Dinh
MVP (Access)
> I have a window with search fields at the top and a tab control with a
> number of tabpages at the bottom. Is there a way to use the keyboard to get
> from a tabpage back up to the search fields?
Laurel - 19 Mar 2005 03:58 GMT
I think the idea of a hot key is the way I'll want to go. Can you tell me
how to reference specific keys in a script? (i.e., test for whether a key
has been pressed?) Or point to the location in Help? I'm afraid I find VB
help not always helpful. Some of the most critical info is buried and not
indexed.
> From a TextBox on one of the Tab Pages, I have to use:
>
[quoted text clipped - 9 lines]
> get
> > from a tabpage back up to the search fields?
Van T. Dinh - 19 Mar 2005 14:07 GMT
Check Access VB Help on the KeyPreview Property of the Form and the KeyDown
Event of the Form. The sample code is nearly what you want.

Signature
HTH
Van T. Dinh
MVP (Access)
> I think the idea of a hot key is the way I'll want to go. Can you tell me
> how to reference specific keys in a script? (i.e., test for whether a key
> has been pressed?) Or point to the location in Help? I'm afraid I find VB
> help not always helpful. Some of the most critical info is buried and not
> indexed.
Laurel - 20 Mar 2005 22:16 GMT
Great. All is working well. Thanks!
> Check Access VB Help on the KeyPreview Property of the Form and the KeyDown
> Event of the Form. The sample code is nearly what you want.
[quoted text clipped - 5 lines]
> > help not always helpful. Some of the most critical info is buried and not
> > indexed.