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:
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
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
: 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
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
]
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
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
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]
8 matches
Mail list logo