scbs29
2014-07-03 20:00:40 UTC
Hello all
I don't know if it is a VB6 problem or Access 2003 problem or both or
if it is me.
I am writing a VB6 program as a front end to an Access 2003 database.
I know I could probably do it within Access but I prefer straight VB6.
Database access is through ADO using SQL.
When I insert data into the database I enter date formatted within VB6
as dd/mm/yyyy. Using a query to get data between 2 dates, then it
fails because Access treats datee as mm/dd/yyyy.
I have been searching but cannot seem to find any way of telling
Access to treate dates as dd/mm/yyyy.
It has been a few years, but I have a vague recollection of date
problems with VB6 accessing a SQL Server 2000 database, but I cannot
remember.
Am I missing something ?
Can anyone advise me?
I don't know if it is a VB6 problem or Access 2003 problem or both or
if it is me.
I am writing a VB6 program as a front end to an Access 2003 database.
I know I could probably do it within Access but I prefer straight VB6.
Database access is through ADO using SQL.
When I insert data into the database I enter date formatted within VB6
as dd/mm/yyyy. Using a query to get data between 2 dates, then it
fails because Access treats datee as mm/dd/yyyy.
I have been searching but cannot seem to find any way of telling
Access to treate dates as dd/mm/yyyy.
It has been a few years, but I have a vague recollection of date
problems with VB6 accessing a SQL Server 2000 database, but I cannot
remember.
Am I missing something ?
Can anyone advise me?
--
remove fred before emailing
Registered Linux User 490858
remove fred before emailing
Registered Linux User 490858