"Matt Williamson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> <SNIP>
>
>> Use:
>>
>> Do Until rst.EOF
>>
>> Per this link the method copies until the EOF property is True:
>>
>> http://msdn.microsoft.com/en-us/library/aa165427(office.10).aspx
>>
>> --
>> Richard Mueller
>> MVP Directory Services
>> Hilltop Lab - http://www.rlmueller.net
>> --
>>
>>
>
> Thanks Richard. That works when I use loop until rst.eof. I thought for
> sure I had tried that already. Apparently not.
Hmm. I did try it. When I said it worked, it was because I forgot to comment
out my error trap. rst.EOF doesn't do it either. Loop Until rst.State <> 1
seems to work though but I never would have figured that out by reading the
ado help on the state property of the recordset object. I just opened the
locals window and watched which properties changed as I stepped through the
code.