RE: InTransaction Function?

2002-04-14 Thread Dave Watts
Is it possible to dynamically determine if the code being processed is in the middle of a CFTransaction? Sure, CFIF ListFind(getBaseTagList(), CFTRANSACTION) I am in a transaction CFELSE I am not in a transaction /CFIF Well, there you go. I'd never even thought of that

InTransaction Function?

2002-04-12 Thread Shawn Grover
I'm sure I've seen this topic before, but can't seem to find anything in the archives, or through a google search... Is it possible to dynamically determine if the code being processed is in the middle of a CFTransaction? For instance: cftransaction action=begin cfquery/ cfif

RE: InTransaction Function?

2002-04-12 Thread Dave Watts
Is it possible to dynamically determine if the code being processed is in the middle of a CFTransaction? For instance: cftransaction action=begin cfquery/ cfif InTransaction Show Message /cfif /cftransaction I make a call to a custom Error Handler tag

Re: InTransaction Function?

2002-04-12 Thread James Sleeman
Sure, CFIF ListFind(getBaseTagList(), CFTRANSACTION) I am in a transaction CFELSE I am not in a transaction /CFIF I use it like this on my action templates (eg inserting something into a database CFIF NOT ListFind(getBaseTagList(), CFTRANSACTION) CFTRANSACTION