Export an ADO Recordset to a Text File

Category:
Database
Type:
Snippets
Difficulty:
Intermediate
Author:
Intelligent Solutions Inc.

Version Compatibility:

More information:
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.

Declarations:

Code: