I have the following code to transfer a table to a text file. I am getting an error message "Database or object is read only." I am not sure what could be causing this. The database is not read only and the table is not read only. Any feedback is appreciated.
strPath = strFolderName & "\" & strRRDD & CStr(Month(Date)) & CStr(Day(Date)) & CStr(Year(Date)) & "tblTrackingNumbers"
DoCmd.TransferText acExportDelim, "ExporttblTrackingNumbers Export Specification", _
"ExporttblTrackingNumbers", strPath, -1
Phil Edwards
strPath = strFolderName & "\" & strRRDD & CStr(Month(Date)) & CStr(Day(Date)) & CStr(Year(Date)) & "tblTrackingNumbers"
DoCmd.TransferText acExportDelim, "ExporttblTrackingNumbers Export Specification", _
"ExporttblTrackingNumbers", strPath, -1
Phil Edwards