What I did was just return the data_received value and I already was returning the payment_method so I just used CF code to check the values.
Thanks for all your time Dave! On Fri, Jan 25, 2013 at 2:09 PM, Dave Watts <dwa...@figleaf.com> wrote: > > > Specifically it doesn't like this: > > case 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_refund, > > OK, I think this is more complicated than I did before! > > You might want to try creating a stored procedure, then calling that > from CF. That'll let you use parameters. > > 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:354078 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm