I am using VB and Access Database. I am using ADO to connect the two.
The select criteria is based on a datepicker control, and because the computer has a british set up, the value of this control is stored as day/month/year.
However, when I use this value in an SQL statement it does not work. I have disovered I can only get the desired effect by first changing it to month/day/year (the american format).
My question is then does the SQL language only work with American dates and VB work with whatever the settings are specified by the operating system.
The select criteria is based on a datepicker control, and because the computer has a british set up, the value of this control is stored as day/month/year.
However, when I use this value in an SQL statement it does not work. I have disovered I can only get the desired effect by first changing it to month/day/year (the american format).
My question is then does the SQL language only work with American dates and VB work with whatever the settings are specified by the operating system.