GoToControl


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.




Access VBA Programming
Microsoft Access VBA Programming for the Absolute Beginner
ISBN: 1598633937
EAN: 2147483647
Year: 2006
Pages: 214
Authors: Michael Vine

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net