Chris I can't believe you made that statement:-)

If the ID needs to be either 1,13,4, or 43 as you have said then the cfif
needs or to be either of these conditions. And means that all conditions
needs to be meet before it becomes true Or means only one needs to be meet
for the condition to be true:-)




Andrew Scott - Internet Development

Totalnet Presence Pty. Ltd.
Level 1-361 City Road
SouthBank Vic 3006
Phone: 9690 4100 Mobile: 0412 777 958
www.totalnet.com.au


> -----Original Message-----
> From: Olive, Christopher M Mr USACHPPM
> [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 25, 2000 6:54 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: CFIF Problem with OR
>
>
> so the ID has to be either 1, 13, 4, or 43?  is that what you're trying to
> do?
>
> if so, the ORs should be ANDs.  what you are saying is this:
>
> say you have an ID of 13.
> the first case is tried: ID IS NOT 1.
> the ID is NOT 1, factually.  so the IF returns TRUE, even though
> the second
> statement would return the opposite answer.
>
> Chris Olive
> DOHRS Website Administrator
> [EMAIL PROTECTED]
>
>
> -----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.

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