?
Solved

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

Posted on 2011-09-06
3
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 180 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 195 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Suggested Courses

777 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