ADO Recordset Objects
In scripting my FileDB component, I decided not to use the TextStream object, which made for a cumbersome process when working with database data. Instead, I chose to use an ActiveX Data Objects (ADO) Recordset object. For more information about ADO Recordset objects, see the resources below.

Database Scripting
"TechNet Webcast: Database Scripting for System Administrators"

Using ADO
"Hey, Scripting Guy!"
"Much ADO About Text Files"