Yes, a subform is just another control. So it is part of a form's tab order.
However, your problem is different because tab order affects only controls
within the form itself. It appears that you have one main form with two
subforms. One subform does not know the other subform exists when it comes
to tab order. You'll have to write some code to do what you want.
In your main form, create a public procedure. For example, call it Move2Sub2:
Public Sub Move2Sub2()
DoCmd.GoToControl Me.SubForm2.Name
DoCmd.GoToControl "ControlOnSubForm2"
End Sub
SubForm2 is your second subform's control name in as referenced by the main
form.
Next, attach a procedure to the After Update event of the last control in
your first subform:
Forms!MainForm.Move2Sub2
MainForm is the name of your main form. You can choose a more appropriate
event if you don't want to use After Update.
Yes I know that but you cannot add a subforms control to the forms tab order,
or can u???
I want to enter at the [date] field tab to [time] tab to [subject] (on one
sub form) and on the after update trigger of [subject] set focus to notes (
on a different sub form) I have spent 8 days on this one issue, with tab
orders & setfocus & gotocontrol, but I am obviously not using the correct
syntax as access returns no such control errors. So I'm figuring I'm on sub
form telling it to go to a control on another subform but access is telling
me that it cannot see the control from where it's looking from. So how do I
tell access to look outside the box it's in?
You can change the tab order for every control. Just go into the control's
properties and change the numbers to your desired sequence. You can even
[quoted text clipped - 10 lines]
are two sub forms, when you tab or enter out of the subject field I want the
focus in the notes text box not making a new record.