L
lcox400w
I am trying to use case to check for several conditions with an on_exit
event. 2 of the 3 work, the problem won is the Case IsNull. When the code
is called, it just passes it right by even though DRNo is null. Can anyone
tell me what I'm missing to get the isnull to work?
thanks
Select Case DRNo
Case IsNull(DRNo)
MsgBox "dr is null"
Case ""
MsgBox "case is empty"
Case Is < 9
MsgBox "less than 9"
End Select
event. 2 of the 3 work, the problem won is the Case IsNull. When the code
is called, it just passes it right by even though DRNo is null. Can anyone
tell me what I'm missing to get the isnull to work?
thanks
Select Case DRNo
Case IsNull(DRNo)
MsgBox "dr is null"
Case ""
MsgBox "case is empty"
Case Is < 9
MsgBox "less than 9"
End Select