Hi,
If you're getting that number from the RecordCount property, make sure you do a
rs.MoveLast before you check it. That will fully populate your recordset.
Nope, If I just use MoveFirst and then loop through I
only have one record, but if I MoveLast, check the record
count and MoveFirst, then the loop works properly.
Hi,
What is your code?
Is it:
While Not rs.EOF Then ....
Because that should work.
If you're using something like:
For i = 1 to rs.RecordCount -1 ...
You would have that problem.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.