What is the correct syntax for testing if two combo boxes dont have text values in them
Works
--------
If Me.cboBox1.Text = "" And Me.cboBox2 = "" Then
Exit Sub
End If
..... Code
Fails
------
If Not Me.cboBox1.Text = "" And Me.cboBox2 = "" Then
.... Code
End If
Works
--------
If Me.cboBox1.Text = "" And Me.cboBox2 = "" Then
Exit Sub
End If
..... Code
Fails
------
If Not Me.cboBox1.Text = "" And Me.cboBox2 = "" Then
.... Code
End If