beginner question: tab index w/ subform

  • Thread starter Thread starter spence
  • Start date Start date
S

spence

I have a form with a linked subform. How to I get the tab
index to continue from the main form onto the subform? I
swear it was working that way a moment ago but now it just
tabs back to the first stop on the main form. I don't know
what changed or how to get it back working again.

Thanks,tab stops just go back to the first stop in the
main for
 
spence said:
I have a form with a linked subform. How to I get the tab
index to continue from the main form onto the subform? I
swear it was working that way a moment ago but now it just
tabs back to the first stop on the main form. I don't know
what changed or how to get it back working again.

Thanks,tab stops just go back to the first stop in the
main for

Do you mean that tabbing from control to control on the main form skips
over the subform? Make sure the subform control's Tab Stop property (on
the Other tab of its property sheet) and its Enabled property (in the
Data tab of the property sheet) are both set to Yes.
 
Yes, when I tab from control to control, the subform gets
skipped over. When the tab should move from the last field
in the main form to the first field in the subform, it
instead jumps to the next record and moves the tab back to
the first tab stop in the main form.

All my subform fields are enabled and I have chosen "Yes"
in the Tab Stop fields. I have tried having tab index
vaules for subform fields start with zero and have also
tried using tab index numbers that consecultive follow
those from the main form. Neither method works: the
subform gets skipped. Any other ideas what might be going
on here?

thanks,
spence
 
spence said:
Yes, when I tab from control to control, the subform gets
skipped over. When the tab should move from the last field
in the main form to the first field in the subform, it
instead jumps to the next record and moves the tab back to
the first tab stop in the main form.

All my subform fields are enabled and I have chosen "Yes"
in the Tab Stop fields. I have tried having tab index
vaules for subform fields start with zero and have also
tried using tab index numbers that consecultive follow
those from the main form. Neither method works: the
subform gets skipped. Any other ideas what might be going
on here?

You misunderstood me -- I wasn't asking about the controls *on* the
subform, I was asking about the subform control itself -- this is the
control on the main form that acts as a window on the form you've chosen
as a subform. Depending on how you created the main form and subform,
this control may have been given the same name as the form object it
displays, or it may have been given a name like "Subform1". At any
rate, this is the control I'm wondering about. Is it enabled? Is its
Tab Stop property set to Yes?
 
Back
Top