Microsoft KB Archive/110604

From BetaArchive Wiki

XL5: Microsoft Query Records Not Sorted Correctly



The information in this article applies to:


  • Microsoft Query version 1.0
  • Microsoft Excel for Windows, version 5.0





SYMPTOMS

In Microsoft Query, using an SQL statement to create a query may cause problems when you attempt to sort the data. If you use the Microsoft Query sort buttons (A-Z or Z-A) or choose Sort from the Records menu, the selected column may not be sorted if it was defined with an ORDER BY statement in the SQL statement.



WORKAROUND

Because this behavior is by design, the only way to sort the records is to perform the sort on a column that is not created by an ORDER BY statement in the SQL statement.



STATUS

This sorting behavior is by design of Microsoft Query.

Additional query words: 1.00

Keywords : xlquery
Version : 1.00
Platform : WINDOWS
Issue type :
Technology :


Last Reviewed: September 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.