Quote Originally Posted by yrwyddfa
It would be much better written like this:....
It would also be better to put "CStr(K)" into a variable at the start of the loop rather than calculate it 3 times, and a significant improvement could be gained by using a normal recordset as opposed to one in a Data Control.

However, as has already been stated the article is seriously out of date, and pretty much irrelevant.