Tabbing out of subforms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Older versions of Access required you to ctrl+Tab out of subforms when
jumping from a subform back to the main form.

Later versions 2000? Seem to allow you to do it automatically with a simple
tab.

Is there a setting for this? I have some subforms that I have disguised as
regular text fields. (By inserting a subform in "single form view" sizing the
form almost as small as the textbox itself, and of course, hiding navigation
etc.) I'd like the user to tab in and out of these fields unbeknownst that a
subform is being used.... For some reason, it expects a ctrl+tab.

Can I change this setting, or is there a programatic way to mimic this?
 
jonefer,
Try placing one more field (out of site) on your subform with a TabOrder
so that when you hit Tab while in the displayed subform field, you'll Enter
that "dummy" field. Now the OnEnter event of the dummy field could be used
to navigate to your main form.
hth
Al Camp
 
Like Al said, but I'd just use the lost focus event of the contol that
should preceed your "subform" to set the focus to the control on your
subform, then use the lost focus event of the subforms control to set the
focus on the next control in the sequence.

HTH
Dale
 

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

Similar Threads


Back
Top