No records returned in query between an Access 2000 table and a linked Access 97 table (244137)
The information in this article applies to:
- Microsoft Access 2000
- Microsoft Access 97
This article was previously published under Q244137 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
No records are returned for a query that joins a Microsoft Access 2000 (Jet 4.0) table to a linked Microsoft Access 97 (Jet 3.5) table. This happens even though you are certain that there are matching records.
CAUSE
This behavior can occur only when all the following conditions are true:
- The query contains an Access 2000 table and a linked Access 97 table.
- The two tables are joined in a one-to-one relationship (Type 1).
- In each table, the linked field has a data type of Text and is indexed.
RESOLUTION
Instead of a join, use a criteria with the keyword Like that compares one field to the other field in the linked tables. For instance, to correct the behavior in the example in the "Steps to Reproduce Behavior" section later in this article, follow these steps:
- Highlight the join between the two tables to select it.
- Press DELETE.
- In the Criteria field under CustomerID from the Customers table, type the following:
Like [Customers1].[CustomerID]
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/24/2004 |
---|
Keywords: | kbbug kbpending KB244137 |
---|
|