I'm not very accomplished with Access.
I have an Access 2016 data base of the music I own. It's a list of roughly 7,200 individual songs with various associated data. One of the fields, date, holds the date each song reached its highest chart position on the Billboard Top 100 in short-date format (mm/dd/yyyy).
I wanted to extract the year from the date, so I added a new column I called Annum, because Access didn't like me trying to call it year.
About half the records have a value in the date field. The remainder didn't reach the Billboard chart.
In the design view and in the description column for Annum, I entered YEAR [(date)].
It worked some of the time.
It did return a year (incorrect) in the Annum column for a handful of records that don't have a value in the date column. It also returned a correct value in about 2,400 records that do have a value in the date field. And, the biggest problem, it returned no value for about 1,200 songs that do have a date entered in the date field.
What am I doing wrong? How do I proceed to get a correct year from a correctly formatted date on every occasion, and no value for a record where the date field contains no entry?