Hi
I’m having trouble getting some dates into an Access table. I have a visual basic routine which reads a text file and populates my table. All of the other fields work fine except my dates. In the file, the date is listed in “dd/mm/yyyy” format. My Access table date field is set to a type of date/time and a format of short date (i.e. the same “dd/mm/yyyy”) I’m expecting the data to copy straight in without any issues but it’s not.
When I open my table in datasheet view, all of the date fields are listed as “30/12/1899”. The thing is, if I click on a specific date in the table this changes to a time format of “00:02:47” until I click on another then it goes back to “30/12/1899”. It seems to think it’s a time format?
Any ideas.
Andrew
I’m having trouble getting some dates into an Access table. I have a visual basic routine which reads a text file and populates my table. All of the other fields work fine except my dates. In the file, the date is listed in “dd/mm/yyyy” format. My Access table date field is set to a type of date/time and a format of short date (i.e. the same “dd/mm/yyyy”) I’m expecting the data to copy straight in without any issues but it’s not.
When I open my table in datasheet view, all of the date fields are listed as “30/12/1899”. The thing is, if I click on a specific date in the table this changes to a time format of “00:02:47” until I click on another then it goes back to “30/12/1899”. It seems to think it’s a time format?
Any ideas.
Andrew