If Statment

eholtman

Registered User.
Local time
Today, 06:43
Joined
Oct 12, 2004
Messages
54
I am having issues with a multiple option on my If Statement. I do not want to create and If statement for each if I can combine what I want it to do.

Code:
If [cboType] = "Class II with 16K / 16K" Or "Class III with 16K / 16K" Or "Class III with 32K / 16K" Or "Class III with 32K / 32K" Or "Class IV" Then

The code just die when it is combined. Is OR and option.

Thanks
 
Yes, but the structure is:

If Field = "a" OR Field = "b" OR Field = "c" Then
 
The syntax with OR is:
If [cboType] = "Case1" OR [cboType] = "Case2" OR [cboType] = "Case3' Then
 
Much appreciation ... work great. Not a simple when you look at for an hour.
 

Users who are viewing this thread

Back
Top Bottom