T
Tom Ventouris
I have been transferring text to a .txt file from an application designed in
A2007 on Windows XP.
It run as expected:
DoCmd.TransferText acExportFixed, _
"ExportSpec01", "qryExportQuery", _
"C:\DataExport\DataFile01.txt", False, ""
When I run the same code on my Vista Buisness PC, I get Error 3011...."could
not find the object 'DataFile01'. Make sure it exists or the....."
I test the path by creating the txt file manually and openining it from the
application, this works fine with Application.Followhyperlink. (The file is
being found)
Any ideas. I am assuming this must be related to the operating system, since
it works fine on XP.
A2007 on Windows XP.
It run as expected:
DoCmd.TransferText acExportFixed, _
"ExportSpec01", "qryExportQuery", _
"C:\DataExport\DataFile01.txt", False, ""
When I run the same code on my Vista Buisness PC, I get Error 3011...."could
not find the object 'DataFile01'. Make sure it exists or the....."
I test the path by creating the txt file manually and openining it from the
application, this works fine with Application.Followhyperlink. (The file is
being found)
Any ideas. I am assuming this must be related to the operating system, since
it works fine on XP.