Hi Chris,
Chris Rottiers said:
Is there a way to prevent Access from automatically fixing
incorrect dates. For example:
31-12-95 turns into 31-DEC-95
12-31-95 turns into 31-DEC-95
01-15-03 turns into 15-JAN-03
15-01-03 turns into 03-JAN-2015
It can certainly be annoying, at times, but if you understand how Access
interprets your entry, you can regain sanity.
I'm not sure if 01/08/03 is August 1 or Jan 8, or what? Access does not
make random decisions about this, it uses the short
date settings on your computer to assume what you mean by your entry.
Go into Control Panel, Regional Settings, Date tab, and see what your
computer is set to. If it is
m/d/y and you enter 08/05/03, it will assume you mean Aug 5. However if you
enter 13/05/03, that
doesn't conform to your Regional Settings (there is no 13th month). Access
will still enter a date
for you though - it 'helpfully' spins your entry around until it can make
sense of it - May 13,2003.
This is why it can be very confusing to users, as it would appear that
Access arbitrarily changes
your date entries. It's really only doing this after the 12th of the month.
Change your Regional Settings to suit how you like to enter dates. I would
also suggest you choose
a format for your field/control that is unambiguous such as dd/mmm/yyyy.
This way you will see
immediately whether Access interpreted your entry as you meant.
For more information on dates see
http://users.bigpond.net.au/abrowne1/ser-36.html