Trancemission
Technical User
I have a really simple problem which is causing headaches and I don't understand where I have gone wrong.
I have a form with a field called thedate. This is a free form unformatted text box.
I the have a query executed when I click a button [am using DAO] which selects records from a table depending on the date enter.
My table contains the 2 fields startdate and enddate. My query selects from the table where startdate <=# & me.thedate & # and enddate >=# & me.thedate & #.
The problem is I want to enter the date in format DD/MM/YYYY yet in the query it seems to be evauluating my value like MM/DD/YYYY.
I am really not sure where I have gone wrong and I am sure there is a basic setting in access to set format.
Cheers
Trancemission
=============
If it's logical, it'll work!
I have a form with a field called thedate. This is a free form unformatted text box.
I the have a query executed when I click a button [am using DAO] which selects records from a table depending on the date enter.
My table contains the 2 fields startdate and enddate. My query selects from the table where startdate <=# & me.thedate & # and enddate >=# & me.thedate & #.
The problem is I want to enter the date in format DD/MM/YYYY yet in the query it seems to be evauluating my value like MM/DD/YYYY.
I am really not sure where I have gone wrong and I am sure there is a basic setting in access to set format.
Cheers
Trancemission
=============
If it's logical, it'll work!