Apparently id1, id2, and id4 always have something in them.

Try explaining what you want in English.


----- Original Message -----
From: "Cutter (CF-Talk)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, September 27, 2003 10:20 PM
Subject: What's wrong with this...


> Why does this always evaluate to 1?
>
> <cfif (qDates.ID1 is not "") AND (qDates.ID2 is not "") AND (qDates.ID4
> is not "")>
> <cfset variable.status = 1>
> <cfelseif (qDates.ID1 is not "") AND (qDates.ID2 is not "") AND
> (qDates.ID4 is "")>
> <cfset variable.status = 2>
> <cfelseif (qDates.ID1 is not "") AND (qDates.ID2 is "") AND (qDates.ID4
> is "")>
> <cfset variable.status = 3>
> <cfelseif (qDates.ID1 is "") AND (qDates.ID3 is not "")>
> <cfset variable.status = 4>
> <cfelseif (qDates.ID1 is not "") AND (qDates.ID3 is "")>
> <cfset variable.status = 5>
> </cfif>
>
> This is driving me nuts. I can never seem to get the IF...AND to work
> right. What am I missing here?
>
> Cutter

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to