Or it would look nicer to use ...
regards
Andrew Scott
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]
-Original Message-
From: Geoffrey V. Brown [mailto:[EMAIL PROTECTED]]
Sent: 30 August 2000 00:30
To: [EMAIL PROTECTED]
Subject: RE: Can't work out IIF/IsDefined
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. :)
--
Bu
[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
e 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: Can't work out IIF/IsDefined quirk
If I can't use IsDefined with IIF, how come the code I was given works then?
;
L PROTECTED]]
> Sent: 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&quo
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
Sent: 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 Opera
t leveraging software at:
http://www.deerfield.com
> -Original Message-
> From: Paul Johnston [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 29, 2000 9:20 AM
> To: Cf-Talk
> Subject: Can't work out IIF/IsDefined quirk
>
>
> I got this:
>
> Error Diagnostic
I got this:
Error Diagnostic Information
An error occurred while evaluating the expression:
#IIF(IsDefined("form.categories"), form.categories, DE(''))#
Error near line 51, column 11.
Error resolving parameter F
9 matches
Mail list logo