>
>And one more reason SCAN is better. If you change the current alias in the SCAN loop, you don't have to worry about changing it back at the end, because SCAN does resets it for you. In fact, from what I can tell, setting it back yourself slows the loop.
SCAN/ENDSCAN will always be faster than DO WHILE/SKIP/ENDDO.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer