Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting to ASCII file with header and footer

Status
Not open for further replies.

PayrollUser

Technical User
May 15, 2007
1
US
I need to produce an ASCII file from Access 97 with a header and footer. I am able to produce the body of the ASCII text file by using the VBA command: DoCmd.TransferText acExportFixed, "name", "qryname", "c:\temp\file.txt", False

However, I also need to add a header (which gives the current date and time) and a footer (which counts the number of records)to this ASCII file.

Any tips on how to do this would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top