ACC1x: Operators As Field Names in Query Cause Error Message

Last reviewed: May 7, 1997
Article ID: Q98809
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SUMMARY

If you use logical operators as field names in a table and then create a query that uses any of these fields, you receive the following error message:

   Syntax error in query expression "<Table>.<Field>".

MORE INFORMATION

To correct this problem, open the table in Design view and change the name of the field listed in the error message to a name that is not one of the logical operators.

The following are logical operators:

   And, Between, Eqv, IIF, Imp, In, Is, Like, Mod, Not, Or, and Xor

REFERENCES

For more information, search for "logical operators" using the Microsoft Access Help menu.


Additional query words: queries
Keywords : kberrmsg kbusage QryOthr
Version : 1.0 1.1
Platform : WINDOWS
Hardware : X86
Issue type : kbinfo


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: May 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.