Thaaaaats what im talking bout!

You're a champ Robin:P

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hilliard
Sent: Wednesday, December 01, 2004 8:44 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Using IIF

Steve Onnis wrote:

> 
> 
> Can you not concat strings using IIF?
> 
> What I am trying to do is something like this
> 
> IIF(isDefined("myVar"), "'the value myVar is '" & "myVar", "''")
> 
> If "myVar" is NOT defined, completes without error, but if it is the 
> statement errors
> 
> Steve 

This works:

#IIF(isDefined("myVar"), "'the value myVar is ' & myVar", "''")#

Robin
http://www.rocketboots.com.au

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to