W
wolve
Guest
[Sorted] MS Access Date problem please help
Hi and thanks for taking the time to read
now this is my first post and i hope i dont post in the wrong section my apologies if i do.
Now for the problem...
i have a vb6 project that manages a MS Access 2002 DB. Now one of the problems i have just come up with is the date. My application will be used by australians and our short date format is "DD/MM/YYYY".
But when i whip up a query and make the date criteria "DD/MM/YY" the access program then changes the format to "MM/DD/YYYY" automatically in the sql view of the query.And even if the record is formated or completed as "DD/MM/YYYY" it wont accept it and it errors me
with garbage data.
Now i have done the following to try preventing this from happening:
1. Formated the access db to show short date format like this "DD/MM/YYYY" in the properties of the attribute.
2. Ive check my systems to see whether the "Regional & Language Option" are ok and there seems to be no issue there.
3. Reinforce the query by using variable to set the date.
but still no good ive also tried googling but i dont know how to ask google for something like this, so i came here to ask you fine people.
Any help with this is greatly appreciated
ps. if any of this does not make sense ill detail it more in the next post. but i really need help
thanks in advance
Hi and thanks for taking the time to read
now this is my first post and i hope i dont post in the wrong section my apologies if i do.
Now for the problem...
i have a vb6 project that manages a MS Access 2002 DB. Now one of the problems i have just come up with is the date. My application will be used by australians and our short date format is "DD/MM/YYYY".
But when i whip up a query and make the date criteria "DD/MM/YY" the access program then changes the format to "MM/DD/YYYY" automatically in the sql view of the query.And even if the record is formated or completed as "DD/MM/YYYY" it wont accept it and it errors me
Now i have done the following to try preventing this from happening:
1. Formated the access db to show short date format like this "DD/MM/YYYY" in the properties of the attribute.
2. Ive check my systems to see whether the "Regional & Language Option" are ok and there seems to be no issue there.
3. Reinforce the query by using variable to set the date.
but still no good ive also tried googling but i dont know how to ask google for something like this, so i came here to ask you fine people.
Any help with this is greatly appreciated
ps. if any of this does not make sense ill detail it more in the next post. but i really need help
thanks in advance
Last edited: