J
Jochem Davids
I want to check if either one of two cbo's is Null or if both are...
==========================
If IsNull(Me.cboA And Me.cboB) Then
MsgBox "cboA and cboB are empty"
ElseIf IsNull(Me.cboA) Then
MsgBox "cboA is empty"
ElseIf IsNull(Me.cboB) Then
MsgBox "cboB is empty"
End If
==========================
The strange thing is, that when I do this check, outcomes of the MsgBoxes
are not right. Isn't this the right method to check?
Thanks in advance... Jochem
==========================
If IsNull(Me.cboA And Me.cboB) Then
MsgBox "cboA and cboB are empty"
ElseIf IsNull(Me.cboA) Then
MsgBox "cboA is empty"
ElseIf IsNull(Me.cboB) Then
MsgBox "cboB is empty"
End If
==========================
The strange thing is, that when I do this check, outcomes of the MsgBoxes
are not right. Isn't this the right method to check?
Thanks in advance... Jochem