have single values inside hashes, but with CFMX you can put arbitrary
expressions between them.
Cheers,
barneyb
> -----Original Message-----
> From: Jamie Jackson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 19, 2004 12:14 PM
> To: CF-Talk
> Subject: Re: <cfqueryparam> question ("null" attribute)
>
> ><cfqueryparam type="cf_sql_integer" value="#form.myVar#" isNull="#NOT
> >isNumeric(form.myVar)#" />
> >
> >That will insert the value provided, unless it's not
> numeric, in which case
> >it'll insert NULL.
>
> Thanks Barney,
>
> One small correction though: I don't think CF can evaluate:
> #NOT isNumeric(form.myVar)#
>
> It seems you have to wrap "NOT {_expression_}" with a function, like:
> #yesNoFormat(NOT isNumeric(form.myVar))#
>
> Thanks,
> Jamie
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

