Hi there!
What is wrong with this statement?
I also tried:
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/
I would guess the quotes, ID is a number and your telling it a string
- Original Message -
From: "Michel Gagnon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 1:47 PM
Subject: CFIF Problem with OR
> Hi there!
>
> What is wron
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 stat
Try the listfind function:
Your Code
Ian
Michel Gagnon wrote:
>
> Hi there!
>
> What is wrong with this statement?
>
> "43")>
>
> I also tried:
>
>
>
> It executes what's inside even if ID is 43
>
> Any ideas?
>
> -
l 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?
>
> "43")>
>
> I also tried:
1:47 PM
Subject: CFIF Problem with OR
> Hi there!
>
> What is wrong with this statement?
>
> "43")>
>
> I also tried:
>
>
>
> It executes what's inside even if ID is 43
>
> Any ideas?
>
> ---
it doesnt equal 1 does it?
-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?
I also tried:
It executes what's inside even if ID i
12:50 PM
Subject: CFIF Problem with OR
>Hi there!
>
>What is wrong with this statement?
>
>"43")>
>
>I also tried:
>
>
>
>It executes what's inside even if ID is 43
>
>Any ideas?
If you don't want it to execute when ID is 43, then you need AND's... not OR's.
At 02:47 PM 3/24/2000 , you wrote:
>Hi there!
>
>What is wrong with this statement?
>
>"43")>
>
>I also tried:
>
>
>
>It executes what's inside even if ID is 43
>
>Any ideas?
>
>--
quot;" it won't throw back an
error because it doesnt have to do any operations on them
what he needs are AND not OR
-Original Message-
From: Fred Sanders [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 24, 2000 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: CFIF Problem with OR
I w
bsite, NTMail
Latest versions available from our web site (inFusion Authenticator version
2.0 for WebSite and NTMail is now released)
- Original Message -
From: Michel Gagnon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 2:47 PM
Subject: CFIF Problem wit
om: 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?
I also tried:
It executes what's inside even
I tried without the quotes also
- Original Message -
From: "Fred Sanders" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 3:49 PM
Subject: Re: CFIF Problem with OR
> I would guess the quotes, ID is a number and your telling it a string
You are right!
Thanks!
- Original Message -
From: "Olive, Christopher M Mr USACHPPM"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 3:53 PM
Subject: RE: CFIF Problem with OR
> so the ID has to be either 1, 13, 4, or 43? is t
>What is wrong with this statement?
>
>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:
Brandon Whitaker
[EMAIL PROTECTED]
---
"
Thanks!
This also works very well!!!
- Original Message -
From: "Ian Potts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 3:57 PM
Subject: Re: CFIF Problem with OR
> Try the listfind function:
>
>
> Your Code
>
>
&
Try
my code
-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?
I also tried:
It executes what's inside even if ID
> > Try the listfind function:
> >
> >
> > Your Code
> >
Just be careful so you know when you need listfind and listcontains...
listfind('4,13,43', "1") will return true
listcontains('4,13,43', "1") will not
--
Chris
-
>Just be careful so you know when you need listfind and listcontains...
>
>listfind('4,13,43', "1") will return true
>listcontains('4,13,43', "1") will not
Probably a typo but actually its the opposite:
listfind('4,13,43', "1") returns 0 (false) and listcontains('4,13,43', "1")
returns 2 (true)
> Probably a typo but actually its the opposite:
>
> listfind('4,13,43', "1") returns 0 (false) and listcontains('4,13,43',
"1")
> returns 2 (true)
Yep, I mixed it up. The above is correct!
--
Chris
--
Archives: http://
EMAIL PROTECTED]]
Sent: Friday, March 24, 2000 11:48 AM
To: [EMAIL PROTECTED]
Subject: CFIF Problem with OR
Hi there!
What is wrong with this statement?
I also tried:
It executes what's inside even if ID is 43
: 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:
>
> sa
ilto:[EMAIL PROTECTED]]
> Sent: Saturday, March 25, 2000 9:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: CFIF Problem with OR
>
>
> > Probably a typo but actually its the opposite:
> >
> > listfind('4,13,43', "1") returns 0 (false) and listcontain
y, March 26, 2000 6:03 PM
Subject: RE: CFIF Problem with OR
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 t
: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 26, 2000 7:03 PM
To: [EMAIL PROTECTED]
Subject: RE: CFIF Problem with OR
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 condi
or perhaps you DID read closer. :)
Chris Olive
DOHRS Website Administrator
[EMAIL PROTECTED]
-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 26, 2000 7:07 PM
To: [EMAIL PROTECTED]
Subject: RE: CFIF Problem with OR
Ignore my lost post, didn't
26 matches
Mail list logo