Query97: MSQuery Uses 1900 Date When Two Digits Are Used for Year (187698)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Query
This article was previously published under Q187698 SYMPTOMS
When you perform a query in Microsoft Query 97 for Windows, and you use two
digits for a year in the criteria, Microsoft Query may return records that
meet criteria other than the criteria you specify.
CAUSE
When you use two digits for a year in the criteria pane, Microsoft Query
always assumes by design that the year is between 1900 and 1999. This
behavior occurs for dates that you enter in the value field of the Criteria
pane and for dates that you use in parameter queries.
RESOLUTION
To correct this problem, obtain Microsoft Office 97 Service Release 2
(SR-2).
For additional information about SR-2, please see the following article
in the Microsoft Knowledge Base:
151261
OFF97: How to Obtain and Install MS Office 97 SR-2
REFERENCES
For more information about adding criteria, click the Office Assistant in
Microsoft Query, type adding criteria, click Search, and then click to
view "Specify what records to retrieve by using criteria."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base: 120802
Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Major | Last Reviewed: | 12/30/2005 |
---|
Keywords: | kbbug kbfix KB187698 |
---|
|