Solved

Access 2007 Export spec not found when running doCmd.Transfer Text

Posted on 2011-09-06
3
251 Views
Last Modified: 2012-05-12
I keep getting the error: Run-time error 3625:  The text file specification "Myspecname" does not exist. You cannot import, export...
I have done this before and no problem, but after hours of expermentation, I'm still stuck with this error.   Perhaps some debug tips would be helpful.  
Thanks,
Brent
Dim txt_appdir As String
    txt_appdir = CurrentProject.Path
    DoCmd.TransferText acExportDelim, "Export-qa_StreetSync Export", "qa_StreetSync Export", (txt_appdir) & "qa_StreetSyncExport.txt"

Open in new window

0
Comment
Question by:synergyconsulting
3 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 60 total points
Comment Utility
I don't see how you can be getting that error message from this code since MySpecName is not part of the command.

Are you sure you are identifying the correct location for the error?


0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 65 total points
Comment Utility
Ditto on what Pete posted...


<I have done this before and no problem>
With the exact same code...?

To be sure, check your spelling.
Export-qa_StreetSync Export
Export_qa_StreetSync Export
Export_qa_StreetSync_Export
Export qa StreetSync Export
...etc
..(This is why I only use letters and numbers, and no spaces in any of my names)
0
 

Author Closing Comment

by:synergyconsulting
Comment Utility
This was a version issue.2007 does not use the spec.  I don't remember how I found the answer, or where.   Thanks to those who replied.  I will try to be more attentive to responding and closing in future posts.
Brent
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now