I'm trying to create a conditional cfloop that has two conditions. <cfloop condition="(NOT structKeyExists(posts,'query')) AND posts.query.recordcount GT 10">
I only want it to loop until the query struct exists and when it has at least 10 entries in it. Otherwise, I decrement the date by two weeks and have it query again. This is through rss feed so I can't just query for the top 10. It seems to be fine with the first part. It's adding the second part that's a problem. Is it because the struct doesn't exists the first time around so it can't see if the record count is greater than 10? I really only want the second part to be evaluated if the first part is true. That's how it works in CFIF statements. Any enlightenment would be great. Thanks. daniel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317387 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

