RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Geoffrey V. Brown
Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Thanks, Geoffrey Vail Brown __ Director of Online Operations Deerfield.com 231.935.4640 [EMAIL PROTECTED] Check out our complete line of Internet leveraging software at:

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Andy Ewings
29 August 2000 14:30 To: [EMAIL PROTECTED] Subject: RE: Can't work out IIF/IsDefined quirk Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Thanks, Geoffrey Vail Brown __ Director of Online Operations Deerfield.com 231.9

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Bud
On 8/29/00, Geoffrey V. Brown penned: Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Sorry. You can't use isdefined in an IIF. If it's not defined it will still try and reference the variable and return an error. If you must use isdefined, you'll need to use a

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Paul Johnston
: 29 August 2000 15:26 To: [EMAIL PROTECTED] Subject: RE: Can't work out IIF/IsDefined quirk On 8/29/00, Geoffrey V. Brown penned: Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Sorry. You can't use isdefined in an IIF. If it's not define

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Chapman, Katrina
ng_expression2)". So in this case if the variable does in fact exist then it will evaluate String1. Otherwise it does string2. HTH, --K -Original Message- From: Paul Johnston [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 29, 2000 7:42 AM To: [EMAIL PROTECTED] Subject: RE: C

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Geoffrey V. Brown
] Subject: RE: Can't work out IIF/IsDefined quirk On 8/29/00, Geoffrey V. Brown penned: Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Sorry. You can't use isdefined in an IIF. If it's not defined it will still try and reference the variable

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Bud
On 8/29/00, Geoffrey V. Brown penned: Hi, Don't mean to disagree, but give that line of code a shot, I use it everywhere in my scripts! You must use double quotes around the variable name though. I stand corrected sir! That's why I love this list. Now if I can just remember that. :) -- Bud

RE: Can't work out IIF/IsDefined quirk

2000-08-29 Thread Scott, Andrew
OTECTED] Subject: RE: Can't work out IIF/IsDefined quirk Hi, Use this: #IIF(isdefined("form.categories"), "form.categories", de(''))# Thanks, Geoffrey Vail Brown __ Director of Online Operations Deerfield.com 231.935.4640 [EMAIL PROTECTED]