Microsoft Access VBA Programming for the Absolute Beginner
Moves the focus to a particular control on a form.
Syntax
DoCmd.GoToControl ControlName
where ControlName is the name of a control on the active form.
Comments
-
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.
Категории