GoToControl Method Example

The following example uses the GoToControl method to move the focus to the EmployeeID field:

DoCmd.GoToControl "EmployeeID"

Send feedback to MSDN.Look here for MSDN Online resources.