S
Shivalee Gupta via AccessMonster.com
i am importing files from excel into access as tables via this command:
DoCmd.TransferSpreadsheet acImport, 8, "agr_1016", "D:\database\user02.xls", True
the import works fine. but i have 5 columns in this file which contain dates in this format: 29.09.2004 . i converted these columns using format cells into date and 3/14/1998 format. but after coming to access, the table has the column field not as date/time, but as text. hence, all my queries based on the table having dates are giving hazardous results.
i am in deep trouble. any help would be highly appreciated.
regards,
shivalee
DoCmd.TransferSpreadsheet acImport, 8, "agr_1016", "D:\database\user02.xls", True
the import works fine. but i have 5 columns in this file which contain dates in this format: 29.09.2004 . i converted these columns using format cells into date and 3/14/1998 format. but after coming to access, the table has the column field not as date/time, but as text. hence, all my queries based on the table having dates are giving hazardous results.
i am in deep trouble. any help would be highly appreciated.
regards,
shivalee