I have a split database using Access 2003. I've written code to export query results to a *.dat file. See below:
DoCmd.TransferText acExportDelim, "Tabquick Labels", stDocName, "\\pd0ns-wdc002\projdoc$\nsgs.dat"
When this runs I get a MS Access error "Cannot Update. Database or Object is read only"
I've verified that I have full rights to the database and all the objects inculding MSysIMEXColumns and MSysIMEXSpecs.
If I try to export this as any other format, i.e. *.txt, it works fine.
What do I need to do to export to a *.dat file?
Some history on this database: This was a AC97 database with the tables and other objects all in one mdb. This piece of code does work under these conditions so I'm not sure if it's because the database is split or if it is because it has been converted to 2003.