RE: CFTRANSACTION error in CF example

2001-09-25 Thread Mike Townend
You need to change how the try works with transaction... CFTRANSACTION CFTRY !--- Queries Here --- CFTRANSACTION ACTION=COMMIT/ CFCATCH !--- We have experienced an error...

Re: CFTRANSACTION error in CF example

2001-09-25 Thread Chad Gray
Whoops... sorry about the formatting forgot to break the HTML tags for those with HTML email programs. Question was how do i get this example to work so i can see what it is doing? Error: Context validation error in tag CFTRY The tag is not correctly positioned relative to other tags in the

RE: CFTRANSACTION error in CF example

2001-09-25 Thread Joel Parramore
Chad: Put the CFTRY inside the CFTRANSACTION block. Also, two CFCATCH blocks aren't needed in that code. The commitIt flag isn't really needed also unless you want it for something else outside the block. So, something like this will work: CFTRANSACTION ACTION=BEGIN CFTRY

RE: CFTRANSACTION error in CF example

2001-09-25 Thread Dave Watts
There is an error in the example code that comes with the CFStudio help file for CFTRANSACTION. I get this error: Context validation error in tag CFTRY The tag is not correctly positioned relative to other tags in the template: the last tag nested inside tag CFTRY must be a CFCATCH tag.