HI
I have a date field in access 2000 called DATE which I have formatted as mm/dd/yy. In one of my subs I have referenced this date field as:
Month([DATE]).
My problem is that this is a multi user database and some user's computers regional date setting in control panel are set as dd/mm/yy therefore instead of selection the month when my Month([DATE)] is run it pickes up the day. So when I am expecting a return of 04/10/05 I get 10/04/05 Is there any way I can code to control the regions setting through access? I was hoping an auto exe maco or sub could automaticly set the regional date setting to mm/dd/yy when ever the db is opened.
My database is on our co. network ,so I have no control over the options selected when a compute is loaded with Windows 2000 pro. The Windows 2000 disk's default date is dd/mm/yy so unless this is change during setup thats what is loaded.
Thanks
L
I have a date field in access 2000 called DATE which I have formatted as mm/dd/yy. In one of my subs I have referenced this date field as:
Month([DATE]).
My problem is that this is a multi user database and some user's computers regional date setting in control panel are set as dd/mm/yy therefore instead of selection the month when my Month([DATE)] is run it pickes up the day. So when I am expecting a return of 04/10/05 I get 10/04/05 Is there any way I can code to control the regions setting through access? I was hoping an auto exe maco or sub could automaticly set the regional date setting to mm/dd/yy when ever the db is opened.
My database is on our co. network ,so I have no control over the options selected when a compute is loaded with Windows 2000 pro. The Windows 2000 disk's default date is dd/mm/yy so unless this is change during setup thats what is loaded.
Thanks
L