trudye10
Programmer
- Sep 8, 2006
- 67
Hi Guys, I'm having a problem with an Export. I read in FAQ that if the path+Filename is too long (> 64 chars.) that this will cause error 3027 (which is what I am getting).
I changed the path+filename to 40 bytes and still I'm getting 3027. I checked the database and table properties and neither one is read only.
Any ideas? suggestions? comments? concerns?
Here is my code:
Function TstExport()
On Error GoTo WhyMe
DoCmd.TransferText acExportDelim, , "tblEnroll_Error_Report", "E:\marketing\ResultsControl\PDEnroll.xls", True
Exit Function
WhyMe:
MsgBox ("Error Number: " & Err.Number & " | Error Description: " & Err.Description)
End Function
I changed the path+filename to 40 bytes and still I'm getting 3027. I checked the database and table properties and neither one is read only.
Any ideas? suggestions? comments? concerns?
Here is my code:
Function TstExport()
On Error GoTo WhyMe
DoCmd.TransferText acExportDelim, , "tblEnroll_Error_Report", "E:\marketing\ResultsControl\PDEnroll.xls", True
Exit Function
WhyMe:
MsgBox ("Error Number: " & Err.Number & " | Error Description: " & Err.Description)
End Function