thelocaluk
Technical User
I'm a bit lost for what I put in place of the ? in this code. I want to check if combobox1 selection has been made but combobox2 has no selection then to bring up message.
Code:
If Me.cmbReason.Value = ? And Me.cmbDes.Value = "" Then
Me.cmbDes.SetFocus
MsgBox "Please enter Description"
Exit Sub
End If