Solved

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

Posted on 2011-09-06
3
255 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
ID: 36494003
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
ID: 36496017
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
ID: 37264625
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
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…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

790 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