moving to a specific field on subform

A

Annelie

Private Sub EmployeeSelect_AfterUpdate()
DoCmd.GoToControl "EmployeeID"
DoCmd.FindRecord Me![EmployeeSelect]
End Sub

I select and employee from the Employee table by using the above listed
combobox.
After selecting the employee, the curser moves to the ssno, which is the
first field on the list.
Instead of going there, I want to be able to move the first field in the
subform. Can I do that with code?

Annelie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top