Export an ADO Recordset to a Text File
Author:Intelligent Solutions Inc.
Usage is explained in the comments. Though this example includes an (optional) parameter to set the value delimiter, you may need to tweak the code to lay out the text file for you own needs/purposes.
Instructions: Copy the declarations and code below and paste directly into your VB project.