Just a point to note:

<cfqueryparam ... null="#YesNoFormat(NOT Len(myvar))#">

You don't actually need the yesnoformat() function call in there -- the
null="" field takes a boolean value; a numeric value can be treated as a
boolean (any non-zero value is TRUE), and len() returns a numeric value,
so you can just use:

<cfqueryparam ... null="#NOT len(myvar)#">

Maybe it's just me being picky...  :)

Tim.

--
-------------------------------------------------------
Badpen Tech - CF and web-tech: http://tech.badpen.com/
-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
WE'VE MOVED - for our new address, please visit our
website at http://www.rawnet.com/ or call us any time
on 0800 294 24 24.
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to