Word of the Day: rs.moveNext
I was doing some testing the other day on this thing that sends emails, and well, I ran it, and was expecting to receive 7 emails. In the time it took to Alt+Tab to by inbox, there were 20 messages, then 60, then 145...
oh crap, better close that browser!
I think the thing ran for a whole 12 seconds, looping on the first record to the tune of 863 emails!
Important safety tip: make sure your loops know when to give up and move on.
Posted on 20031122 at 09:38 by codeBoy