Microsoft Knowledge Base Email Alertz

When you enter a date in the Criteria pane of your query, you receive an error message similar to the following

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 248222 - Last Review: October 31, 2003 - Revision: 3.0

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

This article was previously published under Q248222

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.

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.

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  (http://kbalertz.com/Feedback.aspx?kbNumber=245025/EN-US/ ) 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.

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.

APPLIES TO
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Query 2000
Keywords: 
kbprb kbpending KB248222
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate