Error 3625

I am receiving the following error of 3625 in Access
audrey431Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
audrey431,

And what are you doing when you get that error?  If you are running code, what is the code for that procedure?  If you hit debug on the error propmpt, which line of code does the debugger jump to?

Patrick
0
ScottyworldCommented:
What are you trying to do at the time you get this error ?
0
audrey431Author Commented:
I was running an import macro that links to a table wih the import spec defined. See attachment
Error-access.docx
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

audrey431Author Commented:
Was this information helpful?
0
Helen FeddemaCommented:
Here is something I wrote about this error in an Access Watch a while back:

In AW 10.05 I mentioned that you can't use a saved Import spec with the TransferText method in Access 2007 – if you do, you will get Error 3625: "The text file specification Import-Jobs 13-Aug-2006' does not exist. You cannot import, export, or link using the specification." However, David Plaut wrote to say that he has had success using a saved Import spec in Access 2007.

In the meanwhile, since I wrote the original statement, I have found an alternate syntax that does work in Access 2007. A saved spec used with TransferText still doesn't work for me, though. Here is the code I tested (using a spec created in Access 2007):

'Fixed-width

strSpec = "Import-Jobs 13-Aug-2006"

'New style syntax

Application.CurrentProject.ImportExportSpecifications(strSpec).Execute

'Old style syntax causes error

DoCmd.TransferText transfertype:=acImportFixed, _
   specificationname:=strSpec, _
   TableName:=strTable, _
   FileName:=strTextFile, _
   hasfieldnames:=True

As near as I can figure out, if you create and save a spec in an earlier version of Access, and then use it with the old syntax, it will work; but if you create and save the spec in Access 2007, it only works with the new style syntax.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Helen FeddemaCommented:
It seems that this problem has carried over to Access 2010.,
0
audrey431Author Commented:
Thanks for information, I will try your suggestion.
0
Patrick MatthewsCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.