Dustin Ventin
2009-03-11 00:17:01 UTC
I have a polished Access application that I'm trying to upsize to using a SQL
Server back-end. Obviously I have some things to work through, and one of
them seems to be the automation required for importing Excel spreadsheets
into my tables. Orginally I was using the following code:
DoCmd.TransferSpreadsheet acImport, TableName:="tblMyTable",
FileName:=strImportPath, HasFieldNames:=True
Now, when I was using Access tables this code worked flawlessly. Now, as
soon as this line is reached, Access throws the dreaded Unidentified Error
screen and crashes unceremoniously.
I've been looking all over the Internet, but nobody seems to have a very
specific idea of how to fix it. Any help would be great appreciated.
Dustin
Server back-end. Obviously I have some things to work through, and one of
them seems to be the automation required for importing Excel spreadsheets
into my tables. Orginally I was using the following code:
DoCmd.TransferSpreadsheet acImport, TableName:="tblMyTable",
FileName:=strImportPath, HasFieldNames:=True
Now, when I was using Access tables this code worked flawlessly. Now, as
soon as this line is reached, Access throws the dreaded Unidentified Error
screen and crashes unceremoniously.
I've been looking all over the Internet, but nobody seems to have a very
specific idea of how to fix it. Any help would be great appreciated.
Dustin