I can think of only two methods, the first is quick and dirty, the second
requires programming.
1) Export a query based on the table, aliasing your field name with some
other character, say ^. Then open the text file in Notepad and search for ^
and replace with #.
2) Create your own export routine. It could be something as simple and
hard-coded as this:
Open "c:\TestOutput.txt" For Output As #1
Set cnn = CurrentProject.Connection
rst.Open "qryExportFormatted", cnn, adOpenForwardOnly, adLockReadOnly
'Print column headings
Print #1, "Field1,Field2,Field3,#Bob,Field5"
rst.MoveFirst
Do While Not rst.EOF
MyString = rst!Field1& "," & _
rst!Field2& "," & _
rst!Field3& "," & _
rst!,#Bob& "," & _
rst!Field5
'print a single record
Print #1, MyString
rst.MoveNext
Loop
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L