Right?? It's possible to insert another CF scripts inside cftransaction tags? Do you recommend?
Thanks once again
>This is possible. However, you have an error with your <cftransaction>
>tags. They ALWAYS require an end tag.
>
> <cfif IsOK>
> <cftransaction action=""
> <cfelse>
> <cftransaction action = ""
> </cfif>
>
>> -----Original Message-----
>> From: Spectrum Web [mailto:[EMAIL PROTECTED]
>> Sent: zondag 1 februari 2004 11:06
>> To: CF-Talk
>> Subject: Re:cftransaction HELP Please...
>>
>> Thanks James
>>
>> it's possible to insert pieces of scripts inside cftransaction blocks?
>>
>> Like this:
>>
>>
>> <cfset IsOK = True>
>> <cftransaction action="">
>> <cftry>
>> <cfquery to read from A>
>> <cfcatch>
>> <cfset IsOK = False>
>> </cfcatch>
>> </cftry>
>>
>> <CFMAIL ...>
>>
>> <cfif IsOK>
>> <cftry>
>> <cfquery to save in B>
>> <cfcatch>
>> <cfset IsOK = False>
>> </cfcatch> <
>> </cftry>
>>
>>
>> <CFMAIL ....>
>>
>> <cfif IsOK>
>> <cftry>
>> <cfquery to delete from A>
>> <cfcatch>
>> <cfset IsOK = False>
>> </cfcatch> <
>> </cftry>
>> </cfif>
>> </cfif>
>>
>>
>> <CFMAIL...>
>>
>> <cfif IsOK>
>> <cftransaction action=""
>> <cfelse>
>> <cftransaction action = ""
>> </cfif>
>> </cftransaction>
>>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Random Password Stuart Kidd
- Re: Random Password Critter
- RE: Random Password Stuart Kidd
- Re: Random Password Critter
- RE: Random Password Michael T. Tangorre
- RE: CFLOCK:....Sunday (still not left... Stuart Kidd
- RE: CFLOCK:....Sunday (still not left com... Stuart Kidd
- RE: CFLOCK:....Sunday (still not left... Jochem van Dieten
- Re: CFLOCK:....Sunday (still not left... Dave Carabetta
- Re: CFLOCK:....Sunday (still not left compute... Rob Rohan
- RE: cftransaction HELP Please... Spectrum Web
- RE: cftransaction HELP Please... Pascal Peters
- RE: cftransaction HELP Please... Spectrum WebDesign
- RE: cftransaction HELP Please... Tom Kitta