I want to move from the last control of my subform back to a control on the main form WITHOUT opening up a new record on the main form.
Right now I have coded:
Me.Parent.Form![Subtotal].SetFocus
DoCmd.GoToRecord
This almost works - it takes me to the correct control on the main form but on a new main form, not the one I was working on. Can someone help tweak my code?
Right now I have coded:
Me.Parent.Form![Subtotal].SetFocus
DoCmd.GoToRecord
This almost works - it takes me to the correct control on the main form but on a new main form, not the one I was working on. Can someone help tweak my code?