Link to home
Start Free TrialLog in
Avatar of Master Work
Master Work

asked on

How can I export the data from an access query without format?

Hi, I have created a macro to export an query data as a text.
ExportWithFormating ¿ Text Files (*.txt)
But still the text file is having lines between the rows and between the columns. How can I get rid of those lines?
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Why are you using ExportWithFormating if you don't want formatting?

Use ExportDelimited instead.
You need to click the 'Show All Actions' button on the ribbon.
Avatar of Master Work
Master Work

ASKER

Yes I found it but I can't use my query data to export.
Why not?
You should be able to export any table or any Select query.
I am attaching an example of the access databse and I want to export the query1 data as a text file using a macro.

Could you help in this?

regards,

Dallag
You need to attach the file.
ASKER CERTIFIED SOLUTION
Avatar of peter57r
peter57r
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you