> Ok, I've been pulling my hair out for two straight days now > on this. I have a numeric field that I am populating with the > results of a previous query. The column in this query could > return a null value. If I set the CFQUERYPARAM null option to > "Yes" it doesn't throw an error but everything is passed as a > null. Am I missing something here? Maybe I've been looking at > it too long. Thanks for any help,
If you pass NULL="YES", it will always set the value to NULL. Use something like this instead: <cfqueryparam ... null="#some expression that returns yes if you want the value to be NULL, or no otherwise#"> Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200816 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

