I have used this technique
<cfloop condition="#iterator.hasMore()#">
<cfset iterator.getAt(1).delete( useTransaction=false ) />
</cfloop>
HTH!
Qasim
On 11/28/06, bayo <[EMAIL PROTECTED]> wrote:
Dan,
To get around this behavior, call myIterator.resetIndex() after every
deletion (once per loop iteration).
Bayo
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --