In the Lost Focus event of the last text box on the first subform put:
Me.Parent.YourSecondSubformContainerName.Form.YourFirstTextBoxName.SetFocus
Where YourSecondSubformContainerName is the name of the control on the main
form that houses the second subform (not necessarily the subform name). It
is possible that the container name is the same as the subform name, but it
isn't necessarily so. So you have to use the container name.
And YourFirstTextBoxName is the name of the text box on the second subform
that you want to get the focus.
--
Bob Larson
Access World Forums Super Moderator
Utter Access VIP
Tutorials at
http://www.btabdevelopment.com
If my post was helpful to you, please rate the post.
__________________________________