Problem with Exporting non-traditional extension

  • Thread starter Thread starter Burt Rosner
  • Start date Start date
B

Burt Rosner

To Whoever Can Advise,

I am trying to export a text file with an extension
of .old. When I use "DoCmd.TransferText acExportDelim" I
get a "read Only" error message. Is there a way of
creating a text file without using the ".txt" extension.

Please advise.

Thanks,

Burt
 
Check the following KB articles. While they talk about importing, the same
should hold for exporting:

ACC2000: "Can't Update. Database or Object Is Read-only" Error Message When
You Import Files
http://support.microsoft.com/?id=245407
ACC2000: How to Import a Text File That Has an Extension That Access Does
Not Recognize
http://support.microsoft.com/?id=306144

FWIW, it's probably simplest simply to export to a file with an extension of
..TXT, and rename the file using the VBA Name statement:

Name oldpathname As newpathname
 
-----Original Message-----
Check the following KB articles. While they talk about importing, the same
should hold for exporting:

ACC2000: "Can't Update. Database or Object Is Read-only" Error Message When
You Import Files
http://support.microsoft.com/?id=245407
ACC2000: How to Import a Text File That Has an Extension That Access Does
Not Recognize
http://support.microsoft.com/?id=306144

FWIW, it's probably simplest simply to export to a file with an extension of
..TXT, and rename the file using the VBA Name statement:

Name oldpathname As newpathname

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)






.
Doug,

Thanks, I'm going to look at it now.

Burt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top