Export text file problem

  • Thread starter Thread starter Frank H
  • Start date Start date
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
 
Back
Top