G
Guest
I want to have a field that simply allows for the year, with no month or day.
I can't figure out how make the field a Date data type. Basically, I've made
a Number field and use an input mask to keep it to four digits. It's not a
Date format though. It works just the same it seems.
If I use numbers to represent dates instead of date formats, is this a
problem? It works better for my database by separating years from months. For
example I can sort all records in a subform by year and then by month this
way.
Currently I have a table that stores the years. Then another table that
stores the Month with a code for Year that's linked to the Year table. So
instead of relying on Date formats, I have two tables that are for Years and
Months which are linked. It seems a little bit strange though.
Just curious what are the design implications and if there's a way to make
the four digit number for years into a date format.
I can't figure out how make the field a Date data type. Basically, I've made
a Number field and use an input mask to keep it to four digits. It's not a
Date format though. It works just the same it seems.
If I use numbers to represent dates instead of date formats, is this a
problem? It works better for my database by separating years from months. For
example I can sort all records in a subform by year and then by month this
way.
Currently I have a table that stores the years. Then another table that
stores the Month with a code for Year that's linked to the Year table. So
instead of relying on Date formats, I have two tables that are for Years and
Months which are linked. It seems a little bit strange though.
Just curious what are the design implications and if there's a way to make
the four digit number for years into a date format.