GoToConrol from "Yes/No" Combobox Info to be referenced

T

TravelingHT

Depending on the response, I am trying to change the go to field but I am
getting no luck.

I am getting no error codes, both controls I want to go to are in the same
form.

Private Sub EverHiredTemporaryHistologist_LostFocus()
If Me.EverHiredTemporaryHistologists = "No" Then
DoCmd.GoToControl (HRPersonability)

ElseIf Me.EverHiredTemporaryHistologists = "Yes" Then
DoCmd.GoToControl (Me.HRRelationshipSpeed)
End If
End Sub

Is the problems I am referencing "yes" and "No", should I be referencing -1
and 0?
Thanks in advance

--
Anthony Williams
Histotech Exchange LLC
19 Whitmore St.
Lexington, VA 24450
(e-mail address removed)
 

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