MSQuery: May Not Receive Error Message with Invalid Query

Last reviewed: September 12, 1996
Article ID: Q108061
The information in this article applies to:
  • Microsoft Query for Windows, version 1.0, 2.0
  • Microsoft Query for the Macintosh, version 1.0

SUMMARY

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.

MORE INFORMATION

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


KBCategory: kbusage kbprb kbtool
KBSubcategory: xlquery

Additional reference words: 1.00 2.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.