FIX: Heterogeneous Join Between Jet 4 and Jet 3.x Tables Returns No Records (254130)
The information in this article applies to:
- Microsoft Access 2000
- Microsoft OLE DB Provider for Jet 4.0
This article was previously published under Q254130 SYMPTOMS
When performing a query that joins a table in an Microsoft Access 2000 (Jet 4.0) database with a table in a database from an earlier version of Access (or Jet), you get zero (0) records returned. This behavior only occurs with indexed Text (VarChar or Char) columns.
CAUSE
The data stored in a text field index is different in Microsoft Jet 4.0 than in earlier versions of the Jet database engine. Therefore, comparisons fail.
RESOLUTION
To resolve the problem, do one of the following:
- Remove the indexes.
- Join on a numeric field, such as an ID column.
- Import the table into the Jet 4.0 database.
- Upgrade to Microsoft Jet 4.0 SP4.
NOTE: The query optimizer no longer performs an Index Join on tables in older database formats.
STATUS
This bug has been fixed.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbBug kbfix kbJET KB254130 |
---|
|