ACC97: Wrong Sort Order in Large, Linked SQL Server Tables (171178)
The information in this article applies to:
- Microsoft Access 97
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q171178 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
Records from a linked SQL Server table are sorted incorrectly in
Microsoft Access datasheets and forms if the following conditions are
true:
- A Microsoft Access user opens a long-running query or a form based on
a long-running query.
- The query returns records ordered by one or more columns.
- The Microsoft Access user and/or other users delete records to which
the query conditions apply.
- The records are deleted before the keyset of the query is completely
built (the total number of records in the keyset is not yet displayed
at the bottom of the query window).
CAUSE
This behavior is caused by a timing issue between SQL Server and Microsoft
Access.
RESOLUTION
Although some of the records will appear out of sort order in the keyset,
they are sorted correctly on the server.
Modification Type: | Major | Last Reviewed: | 11/14/2003 |
---|
Keywords: | kbinterop kbprb KB171178 |
---|
|