>Am i missing something obvious. ><cfloop from=1 to=10 index=y> >y=#y#<BR> ><cfset y++> ></cfloop>
With this one, yes. With this sort of loop, CF maintains the counter internally, and just exposes its current value each iteration. So you can do what you like to the value inside the loop body, CF will simply expose the next incremented value each iteration. This makes it more clear: <cfoutput> <cfloop index="i" from="1" to="10"> Top of loop: #i#<br> <cfset i = "apples"> Bottom of loop: #i#<br> <hr> </cfloop> </cfoutput> As for the other two <cfloop> examples you offer, I don't see what it is you expect to happen that's different from what *is* happening. -- Adam ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:358402 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

