The first <CFIF> statement will ALWAYS be true. You probably want to change
the ORs to ANDs. If you want to CFIF block to be true if ID is not 1 or 13
or 4 or 43, change the ORs to ANDs.

===================================================================
Raymond Camden, Webmaster of the Death Clock  (www.deathclock.com)
Cold Fusion Jedi Master for Syntegra (www.syntegra.com)
Allaire Certified Instructor and Member of Team Allaire

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda


> -----Original Message-----
> From: Michel Gagnon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 24, 2000 2:48 PM
> To: [EMAIL PROTECTED]
> 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.

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