I have this Cfloop over a query. In the loop I have 4 conditional statements 
that basically call a template that generates an email if the condition is met. 

Let's say condition 1 is met, is there a way to break the loop and go to the 
next index and start at the beginning of the code? 

Structure: 

<cfloop query="getDate"> 

<cfif some expression 1>
<!--- Some args and calling in a email template --->
</cfif>

<cfif some expression 2>
<!--- Some args and calling in a email template --->
</cfif>

<cfif some expression 3>
<!--- Some args and calling in a email template --->
</cfif>

<cfif some expression 4>
<!--- Some args and calling in a email template --->
</cfif>

</cfloop> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341715
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to