Sounds like you want to use AND.  The IF evaluates to true for the first
condition (ID IS NOT "1").  Or, equivalently:

<cfif not ((id is "1") or (id is "13") or (id is "4") or (id is "43"))>
...

Jim


-----Original Message-----
From: Michel Gagnon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, March 24, 2000 12:50 PM
Subject: CFIF Problem with OR


>Hi there!
>
>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")>
>
>I also tried:
>
><CFIF ID IS NOT "1,13,4,43">
>
>It executes what's inside even if ID is 43
>
>Any ideas?


------------------------------------------------------------------------------
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