I have an access database where the data source is an Excel S/sheet.
One of the fields that i import is a text field that shows when a file has been reopened. Unfortunately the data in it is not just a date but reads " file was reopened on 1/6/2012" ( or whatever the data was)
I have run the query succesfully to split this out into a new field that shows only the date. However because of the way the field is imported it is always text and therefore after running the queryto split the data it is still text, which is of course no good for future queries etc.
The source data is updated daily and therefore even if I change the data type manually for now I will need to move on at some point and I dont really want users to have to go in and change the field on adaily basis.
All of the import is automated so my question is..............Is there a way in VBA to change the data type of this field from Text to Date.
The table is called tblReOpenDates and the field is dtmReopened.
Thanks for your help as always.