Export table as txt file : Access Import Export « Access « VBA / Excel / Access / Word






Export table as txt file

 
Public Sub ExportTable()
   DoCmd.OutputTo acOutputTable, "tblCustomer", acFormatTXT, _
                  "C:\BegVBA\Customer.txt"
End Sub

 








Related examples in the same category

1.Export to a Fixed Width File
2.Importing from a Fixed Width File
3.Export to a Comma Separated File
4.Importing from a Comma Separated File
5.Export table to asp page
6.Export table as html page
7.Export table as htx file
8.Export table as rtf file
9.Export table as xls file
10.Transfer database through ODBC