Query98: Error Message: "Invalid Date Escape..." Performing Query with a Date

ID: Q249172


The information in this article applies to:
  • Microsoft Query 98 Macintosh Edition


SYMPTOMS

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

Invalid date escape. Correct syntax is {d 'yyyy-mm-dd'}.

NOTE: This error may vary, depending on the driver you are using.


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.


WORKAROUND

To work around the issue, 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 this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

For more information about how Microsoft products are affected by year 2000 (Y2K) issues, please see the following Microsoft World Wide Web site:

http://www.microsoft.com/year2000/

Additional query words: XL2000 y2k

Keywords : kbdta kb2000 xlquery
Version : MACINTOSH:
Platform : MACINTOSH
Issue type : kbprb


Last Reviewed: January 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.