473,396 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

TransferText and Runtime Error 3011 (solved)

Just been having this problem when Exporting a query.

DoCmd.TransferText acExportDelim, "GenMESR Export Specification",
"qryGenMESRExport", Environ$("TEMP") & "\MESR.CSV", False

I get the error 3011 cannot find object 'MESR.CSV'

Tried using OutputTo, which netted "database or object is read-only".

Googled this group to find KB article KB225987 for A2K, which refers
to schema.ini file, which I don't have (A2K2).

I finally solved it by manually exporting the query and overwriting
the export specification.

Just thought I'd say that so it'll be on google for the next person
with the same problem :-)

Would be nice if the error message was meaningful, something along the
lines of the fields in the query don't match the fields in the export
spec or something? Then I'd know where to look and would have finished
this report on Friday instead of having to work my weekend :-(

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #1
1 24355
Thank you for letting us know. It is always nice to know what worked so the next person
can solve their problem.

--
Wayne Morgan
Microsoft Access MVP
"Trevor Best" <bouncer@localhost> wrote in message
news:c2********************************@4ax.com...
Just been having this problem when Exporting a query.

DoCmd.TransferText acExportDelim, "GenMESR Export Specification",
"qryGenMESRExport", Environ$("TEMP") & "\MESR.CSV", False

I get the error 3011 cannot find object 'MESR.CSV'

Tried using OutputTo, which netted "database or object is read-only".

Googled this group to find KB article KB225987 for A2K, which refers
to schema.ini file, which I don't have (A2K2).

I finally solved it by manually exporting the query and overwriting
the export specification.

Just thought I'd say that so it'll be on google for the next person
with the same problem :-)

Would be nice if the error message was meaningful, something along the
lines of the fields in the query don't match the fields in the export
spec or something? Then I'd know where to look and would have finished
this report on Friday instead of having to work my weekend :-(

--
A)bort, R)etry, I)nfluence with large hammer.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Polly | last post by:
I had a macro that ran a parameter query and created and opened an Excel file with the system date as part of the file name, but I had to change the file name by hand. So I converted the macro to...
0
by: ctmom | last post by:
Just been having this problem when importing a csv file that had always imported fine. appAccess.DoCmd.TransferText acImportDelim, , "Prior", gsCAIPdir & "Prior.csv", True I would get the...
8
by: g_man | last post by:
I am trying trap Runtime error 3022 (duplicates) in the click event of a command button that closes the form. I have code in the Form_Error event that does a good job of providing a more meaningful...
2
by: enough2Bdangerous | last post by:
Access database (file format 2002-2003) generates reports with docmd.openreport but returns 3011 runtime error related to the printer. Switching Windows default printer is a work around but need to...
3
by: enough2Bdangerous | last post by:
access runtime error 3011 on docmd.openreport -------------------------------------------------------------------------------- Access database (file format 2002-2003) generates reports with...
1
by: Bhavesh Devgan | last post by:
Hi all, am having a runtime error while exportnig data by running a query through TransferSpreadsheet command Error it shows: object could not be found 'Select * from where . =200704 The...
0
by: Dirk.Emmermacher | last post by:
Hello list. I' ve got a problem with mde files from Office XP. We have following situation: We are running a W2K Terminal server with an Office XP. There is a Access application running (mde...
4
by: forrestgump | last post by:
In my access database I have created vba which deletes information in a table and then uploads a .txt file based on it's naming convention. However if you specific an incorrect naming convention...
0
by: zaneugh | last post by:
Iv just reformatted my Compaq M2000 series laptop with Windows Xp home edition, And when ever i put in the resource CD it comes up with that error, Just wondering if its easy to fix?? Cheers for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.