Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Parameter query on linked tables returns no records


View products that this article applies to.

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

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

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Workaround

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

↑ Back to the top


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.

↑ Back to the top


References

For more information about pass-through queries, click Microsoft Access Help on the Help menu, type pass through in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB813696, kbbug, kbqfe, kbdesign, kbdatabase, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 813696
Revision : 5
Created on : 9/27/2005
Published on : 9/27/2005
Exists online : False
Views : 403