B
bw
Can someone explain what's wrong with the following. A branch to the
Message Box is NOT taken, and the value of X is null.
Thanks,
Bernie
Dim X As Variant
X = Null
If IsNull(X) = DLookup("BankName", "qryLookup", "BankName = '" &
[BankName] & "'") Then
MsgBox "X IS NULL"
Else
If Not IsNull(X) Then
MsgBox "X IS NOT NULL"
End If
End If
Message Box is NOT taken, and the value of X is null.
Thanks,
Bernie
Dim X As Variant
X = Null
If IsNull(X) = DLookup("BankName", "qryLookup", "BankName = '" &
[BankName] & "'") Then
MsgBox "X IS NULL"
Else
If Not IsNull(X) Then
MsgBox "X IS NOT NULL"
End If
End If