PRA: Quick Sort Incorrect If Code Changes RecordSource SettingArticle ID: Q141608Creation Date: 20-DEC-1995 Revision Date: 20-SEP-1996
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you use the Quick Sort toolbar button to sort a form's records, and
then change the form's record source to another table using Access Basic,
records from the original record source will appear if you attempt to sort
the new record source's records with the Quick Sort toolbar button. You
will also receive a prompt to provide a parameter value when you try to
perform the second Quick Sort. This will not occur if the form's
RecordSource property is set to a SQL Select statement instead of a table
name.
RESOLUTION
To work around this problem, click Show All Records on the Record menu
after changing the record source and before clicking the Quick Sort button
on the toolbar.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access
version 2.0. This behavior no longer occurs in Microsoft Access for Windows
95 version 7.0.
MORE INFORMATION
Steps to Reproduce Problem
Add records c, a, b.
Add records f, e, d.
? Forms!Form1.RecordSource |
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.