Keyboard Navigation Subform / Main form

J

JonWayn

Id like to be able to tab through all the controls on a form which has a
subform. for example: my main form has 2 textboxes, txt1 and txt2. the
subform, 2 other - txt3 and txt4. the tab order is in ascending order of the
control names. if txt4 is the active control, id like the focus to move to
the main form's txt1 when I hit the tab keyboard key. How is that achieved?
 
A

Allen Browne

Add another text box to the end of the tab order in the subform. You can
make it very tiny so it's not really visible. Use its GotFocus event to save
the record and SetFocus back to the main form.
 
Top