Hi All, I am using the below if statement that seems to be giving me problems. The first part of my statement is false, but I am getting a message box popup. I am not sure why I am getting the message if right away the beginning is false. The "OrElse" is true, but thats it.
Code:
If (CmbLateStart.Visible = True AndAlso CmbLateStart.SelectedItem = "---" OrElse CmbLateStart.Text = vbNullString) Then