ACC95: QBE Grid and Property Sheet Save Date Values as String (220973)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q220973 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you specify a two-digit date as a criteria in the QBE grid or an object's property sheet, the way the date is resolved as a four-digit date may differ, depending on the system settings of the computer on which you run the query.
CAUSE
Microsoft Access 7.0 stores criteria values from the QBE grid and property sheet settings as strings. These values are evaluated at run time. In the case of dates, your system settings will determine how a two-digit year will be resolved to a four-digit year.
RESOLUTION
You can ensure that date criteria and property sheet settings are interpreted the same way on all computers by entering them with four-digit years instead of two-digit years. For example, type #1/1/1999# in the QBE Criteria row to ensure that the query will look for records on January 1, 1999, regardless of the system settings of the computer running the query.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem no longer occurs in the Office 95 Year 2000 Update.
To download the the Office 95 Year 2000 Update, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/30/2006 |
---|
Keywords: | kbdownload kbbug kbpending KB220973 |
---|
|