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/

Reply via email to