How Can I Transfer report to txt file

goni07

New member
Local time
Today, 02:45
Joined
Jan 22, 2008
Messages
9
I have make report but my printer print file just .inp or txt
how can I transfer from report to .txt or .inp
 
Last edited by a moderator:
Re: How Can I Transfer raport to txt file

Have a look at the DoDmd.OutputTo method, see also this link.

It's going to look something like;
Code:
DoCmd.OutputTo acOutputReport, "YourReportName, acFormatTXT, "YourOutPutFileName.txt"
 
Re: How Can I Transfer raport to txt file

thank you very much it funksionirt very good but I will this text file tu save in Folder
ex. filepath = "C:\Temp but i dont know how
can you help me how to save this text file
thank you
 
use;
Code:
DoCmd.OutputTo acOutputReport, "YourReportName", acFormatTXT, "C:\Temp\YourOutPutFileName.txt"
 

Users who are viewing this thread

Back
Top Bottom