MSQuery: TAB Selects First Record in Access Table

Last reviewed: September 12, 1996
Article ID: Q108724
The information in this article applies to:
  • Microsoft Excel for Windows, version 5.0
  • Microsoft Query, version 1.0

SYMPTOMS

In Microsoft Query when you are editing records in a Microsoft Access table, pressing TAB or SHIFT+TAB may cause the selection to jump to a field in the first record, rather than to the next or previous field as expected.

CAUSE

This behavior may occur if the size of a field in your query is greater than 119 characters, and if you are editing record number 34 or greater, and if this field is the first or last field in the query. For example, if you are editing the last field in record 35, and you press TAB, the first field in record 1 is selected instead of the first field in record 36. Any method of selecting another record under the above conditions causes a field in the first record to be selected.

WORKAROUND

To avoid the above behavior when editing a Microsoft Access table, do one of the following:

   - When you create the table, limit the size of the fields to 119
     characters or less.

     -or-

   - While editing the data in Microsoft Query, do not add any fields to
     the query with a field width greater than 119 characters.


KBCategory: kbusage
KBSubcategory: xlquery

Additional reference words: 5.00 MSQUERY MSACCESS



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.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.