Microsoft KB Archive/108436

From BetaArchive Wiki

PRB: Form's Record Sort Order Depends on AllowUpdating

Article ID: Q108436
Creation Date: 12-DEC-1993
Revision Date: 19-SEP-1996 The information in this article applies to:

  • Microsoft Access versions 1.0, 1.1, 2.0

SYMPTOMS


Novice: Requires knowledge of the user interface on single-user computers.

A table-based form that has its AllowUpdating property set to No Tables will display records in insertion order instead of in primary key order.

STATUS


This behavior is by design.

MORE INFORMATION


Steps to Reproduce Behavior


Start Microsoft Access. Create a new table with a text field. Make the text field the primary key. View the table in Datasheet view. Enter three new records with the following values:

      Z
      X
      Y

Create a new, blank form based on the new table. Add a text box to the form. Set the text box's ControlSource property to the text field you created in step 2. View the form in Form view. Note that the display order is:

      X
      Y
      Z

View the form in Design view. Set the form's AllowUpdating property to No Tables. View the form in Form view. Note that the display order has changed to:

      Z
      X
      Y






        



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.

©1997 Microsoft Corporation. All rights reserved. Legal Notices.


Additional reference words: 1.00 1.10 2.00 sort
KBCategory: kbusage
KBSubcategory: TblPriky