Microsoft
Software
Hardware
Network
Question : Importing and appending Excel worksheets into Access Project temporary table
I am trying to import an MS Excel spreadsheet into an Access Project (MS Access 2003) temporary table. Since this is Access Project (adp) and not standard Access (mdb), the underlying database is a MS SQL Server 2000 and not a MS Access Jet database. My problem is that every time I do an import, I am left with an empty file. If I import to a permanent table, I am able to return records. Unfortunately, I cannot use permanent tables to solve to this import problem because only dbowners are allowed to create permanent tables in the database I need and I am not allowed to be a dbowner. Are you allowed to import into from MS Excel spreadsheets into MS SQL Server by means of Access Project 2003, or is there a system feature of system bug that prevents this? The syntax that I use for the data import is:
strinputFileName = \\myserver\mydir\myexcel.x
ls
strSQL = "#Raw_GOOD_SERVICE_ID"
DoCmd.TransferSpreadsheet , acSpreadsheetTypeExcel9, strSQL, strInputFileName
If I were using an MS Access Jet database, the solution to this question would be trivial. However, when you throw MS Access Project 2003 into the mix, the problem gets quite nasty. I am will to convert my Excel file from Excel format to a text file if the solution requires it. However, solving this problem using a file in XLS format will require either very creative thinking or perhaps a system patch. I need a solution as quickly as possible because this is the only issue standing between me and the completion of a three month project. Thank you in advance for your help.
Answer : Importing and appending Excel worksheets into Access Project temporary table
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
Random Solutions
Make minimized application window visible
Flash will only work when I run IE in admin mode
referencing form variables in adp views
access 2003 parse data length undetermined
SCCM 2007 Constant Despooler error 4406
Outlook 2007 Continuous Authencication
Same form on different computers
RUNDLL error message "jyku.fjo" on computer start up
Access attaching a file as xls when it should be rtf
active directory, W2k8 R2 DC, Kerberos failures, Event ID: 3, 4771, 4769, 4768, 4776, 4625 source: Microsoft Windows security