FIX: Parameter query on linked tables returns no records (813696)



The information in this article applies to:

  • Microsoft Access 2002
  • Microsoft Access 2000

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.

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.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbDatabase kbdesign kbQFE kbBug KB813696 kbAudDeveloper