473,397 Members | 1,961 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,397 software developers and data experts.

How to query results to text file via macro and transfertext?

very new to Access. Trying to export query results via macro and transfertext, but keep getting error message stating "Microsoft Jet Engine cannot find the object 'HRQ-DM_Prd1_qtr.txt'. Make sure the object exists and that you spell its name and path correctly".

I don't understand why it's saying that it can't find the 'object'...I'm exporting, not importing. I tried changing the file names/query names and shortening paths, etc., but still no luck.

I have a temp table that I've swapped in place of the query name, and I'm using the same 'export spec'...and that actually works. Seems like my prob is isolated to when I try to export the query results. Maybe the prob is in my 'export spec' and something is different from the query results versus the table layout.

Thoughts please?
Feb 4 '11 #1
1 1938
ADezii
8,834 Expert 8TB
Post the actual TransferText Statement.
Feb 5 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: alessia | last post by:
hi, I have a query that visualizes me, according to some criterions from me inserted, name , Surname , Address , phone ok.. Now, through a button, positioned in a Form, I have to only export...
5
by: PC Work | last post by:
I am using code to export a database to a text file in ms access 2002 Not matter what export method I choose, a field name with a # in it exports to a period. so a field name caled '# of items'...
2
by: Tony Williams | last post by:
I have a query called qrylabels that is based on a table tblbospen. I want to run the query from the Switchboard and also export the results from the query to a comma separated text file called...
1
by: pointBoarder | last post by:
I'm using the following to dump a simple query to a text file. qryRecalcOutput: SELECT reorder_recalc., Int(), Int() FROM reorder_recalc; Statement: DoCmd.TransferText acExportDelim, "",...
1
by: Suffrinmick | last post by:
Hello Everyone I've built a database using Access 2000 which includes a query which is built using a form containing filters. No problem. When I export the results of the query to excel, (File >...
4
by: Marc Scheuner | last post by:
Folks, I have a text file which contains some XML. In its XML header, it claims to be of UTF-8 encoding - however, it's really not, it's a ANSI / Windows-1252 / ISO-8859-1 encoding. Trouble...
4
by: Alessandro | last post by:
Hi everybody, I tried to find some information about my subject with google, but I didn't find anything. I need to read a text file, process the entire content, then kill. In the meantime I...
1
by: veenna | last post by:
How can i select utf-8 encoded character fro ma text file and bind it to dataset. Here is the code: Dim srStreamReader As StreamReader Dim sFile As String = "E:\FTPROOT\uni.txt" Dim swfile As...
1
by: jar | last post by:
please help me how to send a query to a text file or csv.... thanks a lot!
3
by: Wayne | last post by:
I'm trying to automate the export of a query to a text file using code. If I export the query manually I get the exact result that I want i.e. If I select the query then choose File/Export from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.