ACC2: Unexpected Query Results with Attached xBASE TableLast reviewed: May 30, 1997Article ID: Q132012 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you run a select query based on an attached Microsoft FoxPro or dBASE table with the criteria applied to an indexed field designated as the unique record identifier, the Microsoft Access version 2.0 Service Pack produces unexpected query results. For example, the query returns only 1 record instead of all the records that match the criteria applied to the unique record identifier field.
CAUSEIf the unique record identifier field contains duplicate values, the Microsoft Jet database engine version 2.5 returns the first record that matches the criteria in the query. NOTE: This behavior differs from the Jet database engine version 2.0 that was shipped with Microsoft Access version 2.0. The Jet database engine version 2.0 returns all the records that match the specified criteria in the unique record identifier field, not just the first matched record.
RESOLUTIONTo work around this behavior, re-attach the table without a unique record identifier, and then run the query again. To do so, follow these steps:
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about attaching tables, search for "Attach Table," and then "Attach Table Command (File Menu)" using the Microsoft Access Help menu. |
Keywords : IsmXbase kb3rdparty
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |