PRB: MoveNext Method Sometimes Skips Rows Or Reaches EOF When Recordset Is Sorted (245344)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
This article was previously published under Q245344 SYMPTOMS In cases where the recordset has been sorted and the
current record's data is changed, the position can also change. In such cases,
the MoveNext method works normally, but be aware that the position is moved
one record forward from the new position, not the old position. For example,
changing the data in the current record, such that the record is moved to the
end of the sorted recordset, means that calling MoveNext results in ADO setting the current record to the position after
the last record in the recordset (EOF = True). See the "More Information"
section for the Visual Basic code demonstration. STATUS This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbDatabase kbfix kbprb KB245344 |
---|
|