Tab off subform to main form

  • Thread starter BonnieW via AccessMonster.com
  • Start date
B

BonnieW via AccessMonster.com

I would like to be able to have my users tab off a control in a subform to
another control in the main form. I know I've seen code on here to check for
tab keypress, and on that event kick them back to the main form, but I can't
seem to dig it up again. I've also seen some people suggest a teensy tiny
textbox on the subform whose only purpose is to kick the user back to the
main form. I'm happy with either solution- but is one "better" than another?
If neither are optimal, is there another solution out there for this?
 
M

Marshall Barton

BonnieW said:
I would like to be able to have my users tab off a control in a subform to
another control in the main form. I know I've seen code on here to check for
tab keypress, and on that event kick them back to the main form, but I can't
seem to dig it up again. I've also seen some people suggest a teensy tiny
textbox on the subform whose only purpose is to kick the user back to the
main form. I'm happy with either solution- but is one "better" than another?
If neither are optimal, is there another solution out there for this?


The simplest(?) solution is to train users to use Ctrl+Tab

Users being users, I have also used the tiny text box with
code like this in its GotFocus event:
Parent.somecontrol.SetFocus
 

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