
Signature
Duane Hookom
MS Access MVP
--
Hi Duane Hookom,
When I enter this =Year(Date()) it displays this date 26/06/1905
If Possible i would like to be able to just show the current year
Thanks
> Open the table in design view and set the field's default to
> =Year(Date())
[quoted text clipped - 6 lines]
> >
> > Thanks
Duane Hookom - 02 Dec 2004 14:56 GMT
That makes sense to me since the displayed date is probably the 2004th day
beyond Dec 30,1899. If you want to just store the year, set the data type to
Long Integer and format it as general number with no decimal places.

Signature
Duane Hookom
MS Access MVP
--
> Hi Duane Hookom,
>
[quoted text clipped - 14 lines]
>> >
>> > Thanks
Bruce - 03 Dec 2004 19:55 GMT
Try setting the field's data type to Date/Time, its default value to =Date(),
and its format to yyyy.
> Hi Duane Hookom,
>
[quoted text clipped - 13 lines]
> > >
> > > Thanks