tab from subform to subform

P

papa jonah

I have two subforms each with two comboboxes. The two subforms are on
a common main form. Is there a way to add code (maybe to the got focus
event) that will allow tabing from the second combobox of one subform
to the first combobox of the next subform?

TIA
 
G

Guest

Here's one way, most likely the long way, but it might work:
In Design View of the main form, via the View menu, and the Tab Order
option, make sure the the second subform's control is subsequent to the first.
Then in Design View of each subform, set the Tab Stop property of each
control on the each subform to "No", with exception to the two comboboxes, of
course. Pressing Tab, while the first subform has the focus, should take you
from the first subform's combobox to the second's, and Shift-Tab should
return you to the first's.
Good luck.
Trent
 

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