>>
>> This is also the technique I use.
>
> Of course I put "EQ 0" at the end there.

as Dave W corrected me yesterday :
null="#YesNoFormat(NOT Len(Trim(FORM.txtFirstName))#">

I like the use of NOT instead of EQ 0 ...1 less keystroke ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
----- Original Message ----- 
From: "Al Everett" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, April 27, 2005 7:45 AM
Subject: Re: cfqueryparam and null values


> On 4/27/05, Al Everett <[EMAIL PROTECTED]> wrote:
>> On 4/26/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>> > <cfqueryparam value="#Trim(FORM.txtFirstName)#" 
>> > cfsqltype="cf_sql_varchar"
>> > null="#YesNoFormat(Len(Trim(FORM.txtFirstName))#">
>>
>> This is also the technique I use.
>
> Of course I put "EQ 0" at the end there.
>
> -- 
> <a 
> href="http://www.spreadfirefox.com/?q=affiliates&amp;id=58370&amp;t=1";>Get
> Firefox!</a>
> http://www.spreadfirefox.com/?q=affiliates&amp;id=58370&amp;t=1
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204702
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to