
Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>I currently have a column for "Year". It is typed as "Number" because I
> could not figure out another way to just have a year appear. So in my
[quoted text clipped - 7 lines]
>
> Thank you.
The date I would use for the calculation is 10/1/2007. All I have,
currently, is a "year" field that's a number, if I change it to date/time,
all my 2007's convert to 6/29/1905. Writing this out, I see now I could do
an update query and change all 6/29/1905 to 10/1/2007, then do my
calculations. Once I change it to a date/time, then from here on out, it'll
be a date entry.
Aside, is there NO way to enter JUST a year in a field in Access?
> What date do you want when all you have is a year? A date requires year,
> month and day.
[quoted text clipped - 15 lines]
> >
> > Thank you.
John Spencer - 30 Oct 2007 20:12 GMT
Yes, use a text field or a number field. Year is not a date, Day is not a
date, month is not a date, you need all three.
You can extract the parts of the date from a date field using the Year,
Month, or Day functions. So if you need to know just the year of a date
Year([SomeDateField]) returns just the year number.

Signature
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
> The date I would use for the calculation is 10/1/2007. All I have,
> currently, is a "year" field that's a number, if I change it to date/time,
[quoted text clipped - 31 lines]
>> >
>> > Thank you.