Microsoft KB Archive/249172: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 12: Line 12:
<div id="TitleRow">
<div id="TitleRow">


= <span id="KB249172"></span>Query98: Error Message: &quot;Invalid Date Escape...&quot; Performing Query with a Date =
= <span id="KB249172"></span>Query98: Error Message: "Invalid Date Escape..." Performing Query with a Date =





Latest revision as of 13:51, 21 July 2020

Knowledge Base


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

Article ID: 249172

Article Last Modified on 9/11/2002



APPLIES TO

  • Microsoft Excel 98 for Macintosh
  • Microsoft Query 2000



This article was previously published under Q249172


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 that this is a problem in the Microsoft products that are listed at the beginning of this article.


Additional query words: XL2000 y2k

Keywords: kbprb kbpending KB249172