how do you code a 2 field If statment

Jon123

Registered User.
Local time
Today, 03:01
Joined
Aug 29, 2003
Messages
668
If Me.text1 IsNot Null and Me. text2 IsNull then

thanks

jon
 
You can also use the

Code:
If IsNull(me.text1) = False and IsNull(me.text2) = True then
 
Friend,

I believe the boolean portions of this argument is optional. Just pointing out.
 
Friend,

I believe the boolean portions of this argument is optional. Just pointing out.

He has to put the false in otherwise he would be looking for me.text1 to be null, but hey what a wlong winded way to write it especially as you had allready supplied an answer.

Brian
 
i think i've spoken enough on this thread. good luck to the OP.
 

Users who are viewing this thread

Back
Top Bottom