Yes, this will definitely work. Just make sure of the standard stuff, such as use only 1 datasource and it will only roll back database transactions (not file or variable changes, etc.). Oh, and watch out for nested transactions.
-- nathan strutz http://www.dopefly.com/ On Thu, Mar 20, 2008 at 12:10 PM, Brian Dumbledore <[EMAIL PROTECTED]> wrote: > I was wondering if I can wrap a couple of functions(with queries) in a > cftransaction. Would this work? I mean if a function query fails, will the > transaction still roll back? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

