GoToControl Method Example
The following example uses the GoToControl method to move the focus to the EmployeeID field:
DoCmd.GoToControl "EmployeeID"