>What is wrong with this statement?
>
><CFIF (ID IS NOT "1") OR (ID IS NOT "13") OR (ID IS NOT "4")
>OR (ID IS NOT "43")>
By using 'OR', you're saying it could be any of them, as long as it ain't
ALL of them.  Obviously it can't ever be all of them, and therefore it will
always evaluate true.  Try this instead:

<CFIF (ID NEQ "1") AND (ID NEQ "13") AND (ID NEQ "4") AND (ID NEQ "43")>

Brandon Whitaker
[EMAIL PROTECTED]
-------
"It'll get used by the same people using Opera.  People dressed in black
wearing berets."
- Dave Watts, on Mozilla
"The net interprets censorship as damage and routes around it."
- John Gilmore

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to