> It looks like those are mutually exclusive, aren't they? If NOT > structKeyExists(posts, "query"), then posts.query will not exist and > therefore will not have a recordCount at all. You could just take a > different approach to the loop:
I meant less than 10, not greater. In other words, the loop could exist, but not have enough items to work with. I wanted both of those items to be true to stop querying. I understand your solution and wrote it up. It worked great. Thank you very much. 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:317392 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

