CarlSeil
New member
- Local time
- Today, 04:13
- Joined
- Nov 30, 2020
- Messages
- 14
Using Access Business 365.
I am getting this error 3625 'The text file specification "x" does not exist. You cannot import, export, or link using the specification."
I created the specification by performing a successful export. I right clicked on the table, chose Export|Text, chose the delimiters I wanted, and successfully exported to the file. I then verified the file by opening it and visually inspected. I then went to External Data|Saved Exports to make sure that the export specification was indeed saved. I clicked on the name of the export specification and copied it to my clipboard. Then used it in the following code:
When I click on button "btnCreateFile" I get the error 3625 saying the specification does not exist, but it clearly does and I can repeatedly run it by using External Data|Saved Exports.
When I search on this problem, all I can find is examples that reference some bug in Access 2010.
I am getting this error 3625 'The text file specification "x" does not exist. You cannot import, export, or link using the specification."
I created the specification by performing a successful export. I right clicked on the table, chose Export|Text, chose the delimiters I wanted, and successfully exported to the file. I then verified the file by opening it and visually inspected. I then went to External Data|Saved Exports to make sure that the export specification was indeed saved. I clicked on the name of the export specification and copied it to my clipboard. Then used it in the following code:
Code:
Private Sub btnCreateFile_Click()
DoCmd.TransferText transfertype:=acExportDelim, _
specificationname:="Export-tblTempPositivePayChecksRpt", _
tablename:="tblTempPositivePayChecksRpt", _
FileName:="p:\Carl\FileOutPut.txt", _
hasfieldnames:=True
End Sub
When I click on button "btnCreateFile" I get the error 3625 saying the specification does not exist, but it clearly does and I can repeatedly run it by using External Data|Saved Exports.
When I search on this problem, all I can find is examples that reference some bug in Access 2010.