I can export the Access report to a text file, but it is not the same format in the text file.
I got the following code. Can someone please help me?
Private Sub Print_Click()
Const stTempName As String = "C:\temp.txt"
Dim stDocName As String
stDocName = "OrdersQuery"
DoCmd.OutputTo acOutputReport, stDocName, acFormatTXT, stTempName, True