there is a null attribute for <cfqueryparam> that takes a yes/no value. even 
if you have a value specified, if 'null' is set to yes, a null value gets 
inserted.

On 4/26/05, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote:
> 
> Are there any best practices for nulling cfqueryparam values?
> Currently I'm having to write a cfscript before this insert query that
> checks each value and then sets a specific null variable value that is
> then called from the cfqueryparam tag, otherwise the query fails.
> Problem is, it's a ton of code (inserting a bunch of columns), I'm
> feeling lazy (it's 5:01 and I've been at this page all day), and I
> think there should be an easier way (why oh why isn't there an
> "autonull" attribute for cfqueryparam?).
> 
> Anyone?
> 
> Pete
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204555
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to