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
 
Top