> 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 t
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:
<--
Whoops... sorry about the formatting forgot to break the 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 templa
You need to change how the try works with transaction...
INSERT FAILED :(
HTH
M
4 matches
Mail list logo