If Not (Forms!frmInputPara.txtName = "" Or Forms!frmInputPara.txtParagraph = "") Then
...Code
Else
If (Forms!frmInputPara.txtName = "" Or Forms!frmInputPara.txtParagraph = "") Then
MsgBox "WINGO!"
Else
MsgBox "O NO!"
End If
End If
This makes 0 sense at all. I should never get the error message "O NO!"
there is no syntax error, with both fields blank, or either one field blank, I get "O NO!" instead of the intended "WINGO!"
Can someone please explain what I'm doing wrong here??
Additional stuff:
I have Debugged with txtName blank. It confirms the first statment as True (so it goes to the Else because of the Not)
then goes to the second If, which is within the Else, WHICH IS THE EXACT SAME (copy paste) without the Not, and for some reason skips over it, into the else containing "O NO!"
just does not make sense.
Help plz T.T