Microsoft Knowledge Base Email Alertz

(918814) - Describes a problem where you may receive the error message “System Resource Exceeded” or “Query is too complex” when you run a query in Access 2007. The problem occurs when you run a query with a join to a subquery and has a lengthy WHERE clause.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 918814 - Last Review: October 15, 2007 - Revision: 1.6

Error message when you run a query in Access 2007: "System Resource Exceeded" or "Query is too complex"

SYMPTOMS

In Microsoft Office Access 2007, you may receive the following error message when you run a query with a join to a subquery and a long WHERE clause:
System Resource Exceeded
You may also receive the following error message when you run the query:
Query is too complex

CAUSE

This problem occurs because Access 2007 has a 16-join limit. Additionally, large and complex query criteria in the WHERE clause can cause the "System Resource Exceeded" error message.

WORKAROUND

To work around this problem, change your query so that there are no more than 16 joins.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about Access 2007, visit the following Microsoft Web site:
http://office.microsoft.com/en-us/access/FX100646911033.aspx (http://office.microsoft.com/en-us/access/FX100646911033.aspx)

APPLIES TO
  • Microsoft Office Access 2007
Keywords: 
kberrmsg kbtshoot kbbug kbperformance kbprb kbexpertiseinter KB918814
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate