Moves the focus to a particular control on a form.
DoCmd.GoToControl ControlName
where ControlName is the name of a control on the active form.
The GoToControl method does not allow you to designate a control on a form other than the active form.
The GoToControl method has been superseded by the SetFocus method, which is much more flexible.