i have a problem with if statement, i have a combo box and a textfield, i wrote the following code:
Private Sub Combo107_Click()
If Me.Combo107 = "cxr" Then
Me.REP_DETAIL = "chest x-ray"
ElseIf Me.Combo107 = "ct" Then
Me.REP_DETAIL = "ct scan"
End If
End Sub
i compile the code, but i does not work
Private Sub Combo107_Click()
If Me.Combo107 = "cxr" Then
Me.REP_DETAIL = "chest x-ray"
ElseIf Me.Combo107 = "ct" Then
Me.REP_DETAIL = "ct scan"
End If
End Sub
i compile the code, but i does not work