Goto cotrol from Subform to Main form

K

katz

Hello All!

How can I go from the subform to the main form thru code. (put the cursor on
a control on the main form when I am in the subform).
Thanks
abe
 
A

Allen Browne

Something like this:

If Me.Dirty Then Me.Dirty = False
Me.Parent.SetFocus
Me.Parent![SomeControl].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

Top