I set the system Regional Setting to English, date format to "dd/mm/yyyy".
In my application,
A textbox accepts date input from a user: "05/02/2001"
A query statement uses [# Cdate("05/02/2001"
#] to update a date-type field in a transaction table (access database).
When the transactions are retrieved into a listbox for viewing the date field now appears like this;
0 john 02/05/2001 $20.00
1 mac 02/05/2001 $24.00
3 stela 02/05/2001 $54.00
The day and the month were swapped.
I don't know if the problem is from Access Db or Visual basic.
Any suggestion as to rectify this ?
In my application,
A textbox accepts date input from a user: "05/02/2001"
A query statement uses [# Cdate("05/02/2001"
When the transactions are retrieved into a listbox for viewing the date field now appears like this;
0 john 02/05/2001 $20.00
1 mac 02/05/2001 $24.00
3 stela 02/05/2001 $54.00
The day and the month were swapped.
I don't know if the problem is from Access Db or Visual basic.
Any suggestion as to rectify this ?