Gasman
Enthusiastic Amateur
- Local time
- Today, 06:58
- Joined
- Sep 21, 2011
- Messages
- 16,557
Hi all,
In trying to assist another member in this thread https://www.access-programmers.co.uk/forums/threads/error-msg-resolution.327161/#post-1871024 I inadvertently solved the problem, by mentioning that the extension of the output file did not appear to be correct.
However I was curious as to why an extension would make all that difference, after all, one should be able to to use whatever you want?
Anyway, I duplicated the code with
and I too get error 3027 File is Read Only.
Change cvs to csv and it works.
Anyone have any thoughts?
In trying to assist another member in this thread https://www.access-programmers.co.uk/forums/threads/error-msg-resolution.327161/#post-1871024 I inadvertently solved the problem, by mentioning that the extension of the output file did not appear to be correct.
However I was curious as to why an extension would make all that difference, after all, one should be able to to use whatever you want?
Anyway, I duplicated the code with
Code:
Sub TestText()
DoCmd.TransferText acExportDelim, , "TestTransactions", "F:\Temp\TestText.cvs"
End Sub
and I too get error 3027 File is Read Only.
Change cvs to csv and it works.
Anyone have any thoughts?