The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. There is an undocumented limit on the number of ANDs that you can use in a SQL Select statement. The limit is 40 ANDs in a WHERE clause and 40 ANDs in a HAVING clause. Microsoft Access 1.x returns the following error message when you exceed this limit:
Microsoft Access 2.0, 7.0 and 97 return the following error message when you exceed this limit:
Keywords : kberrmsg kbusage QryProb |
Last Reviewed: March 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |