forms_are_nightmares
Registered User.
- Local time
- Today, 12:55
- Joined
- Apr 5, 2010
- Messages
- 71
Hello All,
I know I've done this before and am pretty sure I have something small missing from the code. In the below code, only the first part of the IF statement is working, i.e., it evaluates the left of the AND statment and ignores the right. I've switched it round with the same results. The rest of the code works correctly (which is why it's been left out).
Any help would be appreciated.
If Not IsNull(Me.CMgr_cmbo) And Not IsNull(Me.AccountCmbo) Then
DoSomething
Else
DoSomething else
End If
I know I've done this before and am pretty sure I have something small missing from the code. In the below code, only the first part of the IF statement is working, i.e., it evaluates the left of the AND statment and ignores the right. I've switched it round with the same results. The rest of the code works correctly (which is why it's been left out).
Any help would be appreciated.
If Not IsNull(Me.CMgr_cmbo) And Not IsNull(Me.AccountCmbo) Then
DoSomething
Else
DoSomething else
End If