RE: iif with 3 expressions?

2001-01-15 Thread Katrina Chapman
Except for one problem this code is perfect. Don't use ParameterExists(). Use IsDefined("") instead. --K -Original Message- From: Adrian J. Moreno [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 6:40 PM To: CF-Talk Subject: Re: iif with 3 expressions? If I

Re: iif with 3 expressions?

2001-01-15 Thread Adrian J. Moreno
If I understand your problem, 1. you want to check for the existence of a variable 2. If the variable exists, then check against multiple values 3. display different HTML depending on value of variable

Re: iif with 3 expressions?

2001-01-12 Thread Kevin Miller
Use CFSWITCH. It'll be the same speed as a single CFIF, and would probably outperform IFF also. Kevin >>> [EMAIL PROTECTED] 01/12/01 01:39PM >>> I may be stretching, but I was wondering if there is a way to use IIF() to choose between 3 different expressions? What I have is a variable that has

Re: iif with 3 expressions?

2001-01-12 Thread Brendan Avery
here's one way to do it: #iif( mything is "APPLE", DE("pic_apple.gif"), DE( iif(mything is "BANANA", DE("pic_banana.gif"), DE("pic_cactus.gif") ) ) )# please note the use of th

RE: iif with 3 expressions?

2001-01-12 Thread Katrina Chapman
cfswitch? --K -Original Message- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Friday, January 12, 2001 9:39 PM To: CF-Talk Subject: iif with 3 expressions? I may be stretching, but I was wondering if there is a way to use IIF() to choose between 3 different expressions? What I have

iif with 3 expressions?

2001-01-12 Thread Jon Hall
I may be stretching, but I was wondering if there is a way to use IIF() to choose between 3 different expressions? What I have is a variable that has 3 different possible values. I need to test for the existence of a variable and display one of three images based upon the value of the variable. Th