Oh, my mistake... I forgot the DE()'s around the results.  These are needed.
My brain's fried today. :)

--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC  28270
www.solutionmasters.com
704.563.5559 x 228  Voice
704.849.9291  Fax
-----Original Message-----
From: Peter Benoit <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Monday, August 21, 2000 12:03 PM
Subject: RE: dynamic IIf


>Well that's what I have
>
>IIF(url.stuff IS "whatever"
>
>then "something"
>
>else "something else")
>
>which is what my line of code essentially says.  Though it doesn't work :/
>
>*  -----Original Message-----
>*  From: Jamie Keane [mailto:[EMAIL PROTECTED]]
>*  Sent: Monday, August 21, 2000 11:53 AM
>*  To: [EMAIL PROTECTED]
>*  Subject: Re: dynamic IIf
>*
>*
>*  The syntax should be IIF(condition,result1,result2)
>*  where result1 occurs if condition is true and result2 occurs
>*  if condition is
>*  false.
>*
>*  --
>*  Jamie Keane
>*  Programmer
>*  SolutionMasters, Inc.
>*  9111 Monroe Rd., Suite 100
>*  Charlotte, NC  28270
>*  www.solutionmasters.com
>*  704.563.5559 x 228  Voice
>*  704.849.9291  Fax
>*  -----Original Message-----
>*  From: Peter Benoit <[EMAIL PROTECTED]>
>*  To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
>*  Date: Monday, August 21, 2000 11:41 AM
>*  Subject: dynamic IIf
>*
>*
>*  >
>*  >Having a hard time with this:
>*  >
>*  ><cfset value="#IIF url.stuff IS "whatever", "something", "something
>*  else"#">
>*  >
>*  >Tried mixing things up a bit (quotes, pound signs) with no
>*  success.  Any
>*  >suggestions?
>*  >
>*  >TIA,
>*  >Pete
>*  >
>*  >------------------------------------------------------------
>*  ---------------
>*  ---
>*  >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>*  >To Unsubscribe visit
>*  http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lis
>ts/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>
>---------------------------------------------------------------------------
-
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>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.mail-archive.com/cf-talk@houseoffusion.com/
>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.mail-archive.com/cf-talk@houseoffusion.com/
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