Microsoft KB Archive/813696

= FIX: Parameter query on linked tables returns no records =

Article ID: 813696

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition
 * Microsoft Access 2000 Standard Edition

-



This article applies only to a Microsoft Access database (.mdb).

Advanced: Requires expert coding, interoperability, and multiuser skills.



SYMPTOMS
When you run a parameter query so you can query a table that is linked to Microsoft SQL Server, the query may return no records. However, you expect some records to be returned.



CAUSE
This issue occurs when the Microsoft Jet database engine truncates parameter values in the parameter queries. These queries are run against tables that are linked to SQL Server.



RESOLUTION
To resolve this issue, obtain the latest Microsoft Jet 4.0 Service Pack that contains an updated version of the Jet 4.0 database engine.

For additional information about how to obtain the latest version of the Jet 4.0 database engine, click the following article number to view the article in the Microsoft Knowledge Base:

239114 How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine



WORKAROUND
To work around this issue, use a pass-through query.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was corrected in Jet 4.0 database engine Service Pack 7.

