Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Query2000: "Syntax Error (Missing Operator)..." Error Performing Query with a Date


View products that this article applies to.

This article was previously published under Q248222

↑ Back to the top


Symptoms

When you enter a date in the Criteria pane of your query, you receive an error message similar to the following
Syntax error (missing operator) in query expression '(Table Name.Fieldname=ts '100-11-16 00:00:00'})'.
where Table Name is the name of the table and Fieldname is the name of the field that you are querying.

↑ Back to the top


Cause

This issue occurs when the following conditions are true:
  • You enter a date value that does not include the year.

    -and-

  • The current date setting on your computer is later than December 31, 1999.

↑ Back to the top


Resolution

To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).

To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:
245025� OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)
To temporarily work around this problem, always specify the year portion of the date when your system clock is set to a date later than December 31, 1999.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.

↑ Back to the top


Keywords: KB248222, kbpending, kbprb

↑ Back to the top

Article Info
Article ID : 248222
Revision : 3
Created on : 10/31/2003
Published on : 10/31/2003
Exists online : False
Views : 406