subform set focus

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

Guest

I'm trying to go from one subform to a different subform on the same main
page. The only way it will let me set the focus to the next subform is in
exit of the form but I need to do it after I update the last record in the
first subform?

any ideas?
 
dcowper said:
I'm trying to go from one subform to a different subform on the same main
page. The only way it will let me set the focus to the next subform is in
exit of the form but I need to do it after I update the last record in the
first subform?


First set the focus to the subform control, then set it to a
control in the subform:

Parent.subform2.SetFocus
Parent.subform2.sometextbox.SetFocus
 

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

Back
Top