sub form to mainform

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hi, How do I go onexit from a control in a subform to a control on the
mainform.

I have used docmd.gotoControl "Forms!Mainform!controlname" but thatdoes notr
seem to work

Thanks
A
 
Use the SetFocus property.

Form!NameOfMainForm!NameOfControl.SetFocus

Kelvin
 

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