It is possible, but I do not recommend.

> -----Original Message-----
> From: Spectrum Web [mailto:[EMAIL PROTECTED]
> Sent: maandag 2 februari 2004 10:19
> To: CF-Talk
> Subject: Re:cftransaction HELP Please...
>
> 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 = ""> > >
> >> -----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]

Reply via email to