ACC2002: Default Value for Datetime Column Appears as 12/30/1899 (287490)
The information in this article applies to:
This article was previously published under Q287490 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you create a table that includes a datetime column, and you type a DefaultValue property for that column, the default value may be displayed as 12/30/1899 instead of the value that you typed.
CAUSE
This behavior occurs if the DefaultValue property is not enclosed in apostrophes.
RESOLUTION
You must enclose DefaultValue properties for datetime columns in apostrophes, for example, '1/1/2001'. This rule does not apply when you use functions such as getdate() for a default value.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbbug kbnofix KB287490 |
---|
|