> IIf() will attempt to evaluate all expressions in the statement at once. So, > if the key doesn't exist it will fail when it tries to determine the value of > proximity.
I thought that if you surrounded an expression in quotation marks or wrapped it in DE() without quotation marks, it delayed the evaluation until it was required and, therefore, wouldn't fail if it didn't exist. http://www.fusionauthority.com/Article.cfm?ArticleID=2531 But, hey, it wouldn't be the first time I'd got the wrong end of the stick... -- Aidan Whitehall <[EMAIL PROTECTED]> Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
