D
DrAvi via AccessMonster.com
Hello,
I'm trying to perform a simple task of transferring data from a Query to a
text file (Access 2007 Ver).
As long as I'm using the manual export option (External date-Export-Text file)
, I can specify the export option, among them NOT to export the data with
formatting and layout. The result is exactly the content of the Query,
without headers or frames.
I want to perform this task with VBA automation. I tried to use the following
code:
DoCmd.OutputTo acOutputQuery, "MSV", "*.txt", "c:\MSV.txt", True
But the result is a text file that contains header and "frame" around the
text. The third party application that read the info from the Text file,
cannot read it properly this way (BTW, it expects to read ASCII code, if that
brings more ideas of exporting the data).
What is the right way to export the plain data, without headers or frames?
Knd Regards,
DrAvi
I'm trying to perform a simple task of transferring data from a Query to a
text file (Access 2007 Ver).
As long as I'm using the manual export option (External date-Export-Text file)
, I can specify the export option, among them NOT to export the data with
formatting and layout. The result is exactly the content of the Query,
without headers or frames.
I want to perform this task with VBA automation. I tried to use the following
code:
DoCmd.OutputTo acOutputQuery, "MSV", "*.txt", "c:\MSV.txt", True
But the result is a text file that contains header and "frame" around the
text. The third party application that read the info from the Text file,
cannot read it properly this way (BTW, it expects to read ASCII code, if that
brings more ideas of exporting the data).
What is the right way to export the plain data, without headers or frames?
Knd Regards,
DrAvi