Getting a query into a CSV file

thalam

Registered User.
Local time
Today, 03:35
Joined
Feb 20, 2006
Messages
27
Hi there,

I'm trying to store the results of a query into a CSV file. This query will only have one field present. I know I'm able to export it into Excel and from there on save it as a CSV file, but I'm hoping to have a command button so that when the user presses it, it will automatically make it a CSV file.

Is it possible? Any suggestions?

Thank You
 
Yes possible... Use the Docmd.Transfertext command and you will have to make an export specifiacation.
 
Thank you very much for pointing me into the right direction. I actually created a macro which simply shoots the information out into a CSV file.

Thanks again

Thevaker
 
I'm looking to do exactly what you all are talking about... export directly to a CSV file. Would you please post some of your results for reference?
 
Wow that is draging up an old one :) You really tried... thats worth an answer....

Go to Macro (one of the tabs in the database screen) create a macro and make it export to your liking....
Or in coding (not macro but rael code) use the docmd.transfertext command. Read about how to use it in the access help, much better than me trying to explain it.

Hope it helps....
 

Users who are viewing this thread

Back
Top Bottom