Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/108061

From BetaArchive Wiki
Knowledge Base

May Not Receive Error Message with Invalid Query

Article ID: 108061

Article Last Modified on 8/15/2005


  • Microsoft Excel 95 Standard Edition
  • Microsoft Excel 5.0 Standard Edition
  • Microsoft Excel 5.0 for Macintosh
  • Microsoft Query 2000

This article was previously published under Q108061


In the versions of Microsoft Query listed at the beginning of this article, when a query contains multiple errors, you will receive only one error message at a time. For example, suppose you enter the following SELECT statement

   SELECT Customer.BadField, BadFunction() FROM customer

where BadField refers to a field that does not exist in the Customer table and BadFunction refers to an undefined function in the database.

The first time you run this statement in Microsoft Query, you will only receive one error message stating that the function is undefined. Once you fix this error and run the query again, Microsoft Query will then return a second error referring to the invalid field name.


This behavior is by design. Microsoft Query only returns one error message at a time when it is parsing the SQL statement being executed.

Additional query words: 2.00 MSQuery

Keywords: KB108061