The application needs to generate a plain-ASCII text file for a 3rd party app. I use the DoCmd.TransferText method to generate the text file. The method is invoked from a command-button on the form, using a recordset/query that is managed by the form. Works fine. However, the 3rd party app also requires two lines of header text at the beginning of the file — they are not part of the query that forms the body of the text file.
How do I add the two lines of text into the file using VBA?
TIA