I have a cfif that is run to verify results of a query vs list
<cfloop query="query">
<cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2>
 
</cfif>
</cfloop>
What happens is that I need whats inside of this cfif to keep running until
its false. I tried to put a conditional cfloop around this
 
<cfset myvalue = 0>
<cfloop>
<cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2>
<cfloop condition="myvalue EQ 0">
<run generation>
<cfif query.id1 EQ list.id1 OR query.id2 EQ list.id2>
<cfset myvalue = 1>
<cfelse>
<cfset myvalue =0>
</cfif>
</cfloop>
</cfif>
<cfset myvalue=0>
</cfloop>
 
This still isn't working.. if I output what myvalue is set to alot of the
rows show a value of 1 as if its not running until the condition is 0.  What
am I missing?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288632
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to