?
Solved

Access Macro   - Output Text to

Posted on 2007-04-02
2
Medium Priority
?
1,077 Views
Last Modified: 2013-11-27
I need help creating a macro for Access 2000. I need to export to a text file from a query.
I created the macro using "Output To" and I need to use comma delimited file with the column headers. There are no prompts. Can anyone help?
Thanks
0
Comment
Question by:mancoi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Volibrawl earned 2000 total points
ID: 18837601
From the Menu, Pick Insert Macro

For action Choose Transfer Text, Export Delimited
Table name = Query name
file= c:\myquery.txt
has field names = yes.

name the macro, then run it.



0
 

Author Comment

by:mancoi
ID: 18838767
Perfect thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question