Export text file problem

F

Frank H

Can anybody help me ?

I am using the following line to export some text data...

DoCmd.TransferText acExportDelim, , "qryExportVolume",
strExportFile, True

I get the following error message when the line executes :

"Run-time error '3027':
Cannot update. Database or object is read-only"

I cannot finf anything that is read-only.
I have used this method before without any problems.
The query runs OK by itself, I can run the query via an
export wizard.
I have tried different file names and locations in
strExportFile.
Where am I going wrong?

(Using Access 2002 SP2)

TIA
Frank H
 

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

Top