Hi all,
Hope everyone had a good holiday. I am having a difficult time changing the date format of a field from Excel. I have never had this problem before. I link the excel spreadsheet to my DB, from the spreadsheet I have an append query that appends only certain fields from the spreadsheet to a table. One of the fields is called [Booked Date]. The date in this field are displayed as ‘yyyymmdd’ ex:20070525
To change date format I usually create an expression in the query, like Format ([Booked Date], “mm/dd/yyyy”). That usually works perfectly but not this time, I get #error. I tried changing the field type in the table the records are being append to but the field does not get appended if I do. It only appends if the field type is set to text.
I have tried changing the cell format in excel to the Date format, but that did not work. I even tried changing it to text. When ever I change the format all the dates appear as 12/30/1899.
I don’t know why I can't change the date. I am assuming it probably has to do with how the file was created. Any tips any one can give, I would greatly appreciate.
Hope everyone had a good holiday. I am having a difficult time changing the date format of a field from Excel. I have never had this problem before. I link the excel spreadsheet to my DB, from the spreadsheet I have an append query that appends only certain fields from the spreadsheet to a table. One of the fields is called [Booked Date]. The date in this field are displayed as ‘yyyymmdd’ ex:20070525
To change date format I usually create an expression in the query, like Format ([Booked Date], “mm/dd/yyyy”). That usually works perfectly but not this time, I get #error. I tried changing the field type in the table the records are being append to but the field does not get appended if I do. It only appends if the field type is set to text.
I have tried changing the cell format in excel to the Date format, but that did not work. I even tried changing it to text. When ever I change the format all the dates appear as 12/30/1899.
I don’t know why I can't change the date. I am assuming it probably has to do with how the file was created. Any tips any one can give, I would greatly appreciate.
Comment