I removed this section of the query and it worked.. case when ( select 1 from conference_refund cr where ac.id = cr.attendee_conference_id and is_complete = 0 and active = 1 and (acp.date_received is not null or ac.payment_method = 'credit') ) is not null then 2 -- show process_refund when (acp.date_received is not null or ac.payment_method = 'credit') then 1 -- show init_refund else 0 -- show nada end as show_init_process_refund,
so looks like back to the drawing board.. but why does it work without the cfqueryparam? and it works fine in SQL Mgmt Studio? On Fri, Jan 25, 2013 at 1:28 PM, Greg Morphis <gmorp...@gmail.com> wrote: > So, just this: > and c.id = <cfqueryparam value="#arguments.conf_id#" /> > > ? > > still get [Macromedia][SQLServer JDBC Driver]Invalid parameter binding(s). > > > On Fri, Jan 25, 2013 at 1:20 PM, Dave Watts <dwa...@figleaf.com> wrote: > >> >> > This is what the URL looks like >> > >> /admin/conference/index.cfm?action=view_attendees&conf_id=6f1e0d6d-c35e-4ea2-9e24-39e0e02d442d >> > >> > I reworked the query to use the ID as opposed to the UID and I'm getting >> > the same error. But again, if I remove cfqueryparam it works. >> >> Out of curiosity, what happens if you remove the TYPE attributes from >> your CFARGUMENT tags and use CFQUERYPARAM with either field? >> >> Dave Watts, CTO, Fig Leaf Software >> http://www.figleaf.com/ >> http://training.figleaf.com/ >> >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on >> GSA Schedule, and provides the highest caliber vendor-authorized >> instruction at our training centers, online, or onsite. >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354075 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm