Solved

Macro Error when Transferring Text

Posted on 2013-06-12
6
257 Views
Last Modified: 2013-06-20
Following is the Macro command
mport Delimited, CostInfoMtd Import Specification, TCPlusEngrHrsMTD, \\MAINSERVER\Access Application\CostInfoMTD.csv, Yes, ,

This works when I do the manual import, but does not work when I use the macro action...get error "Query must have at least one destination file".

Attached are screen shot of the Import Spec, plus the .csv being imported.

I've seen some issues re "trusted files", but the .csv file is in the same folder as the Access 2007 Application.
CostInfoMtd.csv
MacroError.xlsx
0
Comment
Question by:gmapdc
  • 3
  • 3
6 Comments
 
LVL 33

Expert Comment

by:Norie
ID: 39243011
Are you importing directly to an existing table?

If you are perhaps you should import into a new table and then append the data to the existing table.
0
 

Author Comment

by:gmapdc
ID: 39245359
I tried importing to a new table, but got the same error.
0
 

Author Comment

by:gmapdc
ID: 39260346
Question is still open - need help!
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 33

Accepted Solution

by:
Norie earned 500 total points
ID: 39260383
You've selected Skip for all the fields in the import specification.
0
 

Author Comment

by:gmapdc
ID: 39263232
My BAD - I was trying to check to include the fields - completely missed the header that said
said "Skip".   Thank you so much for your help.
0
 
LVL 33

Expert Comment

by:Norie
ID: 39263320
No problem.

I should have spotted it earlier but I only had a quick look at the image of the import specification and it looked fine.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question