G
Guest
Any help is greatly appreciated.
I'm creating a lengthy data entry form for the purpose of entering a
four-page contract. There are many tables involved in this form. I'm
setting the form up with steps for the user to follow to go from one segment
to the next. So in instances where the user is entering in a subform, when
they reach the last field in the subform I have a 'OnLostFocus' event that
says
DoCmd.GoToControl "Control"
This works fine to take a user from a subform back to a field in the parent
form. However, when taking a user from a subform in a subform, back to the
first subform or the parent form, I get a Run-time error '2109'. I just need
the correct syntaxt to make it work two layers deep?
I'm creating a lengthy data entry form for the purpose of entering a
four-page contract. There are many tables involved in this form. I'm
setting the form up with steps for the user to follow to go from one segment
to the next. So in instances where the user is entering in a subform, when
they reach the last field in the subform I have a 'OnLostFocus' event that
says
DoCmd.GoToControl "Control"
This works fine to take a user from a subform back to a field in the parent
form. However, when taking a user from a subform in a subform, back to the
first subform or the parent form, I get a Run-time error '2109'. I just need
the correct syntaxt to make it work two layers deep?