Dim rs as ADODB.Recordset set rs = ReturnARecordset \'assume ReturnARecordset does just that... \'do something with rs rs.Close set rs = Nothing
Is i
I needed to write many files. If I didn't close the connection after each file written then I got extraneous garbage at the end of subsequent files.
fsT.Close
followed by
fsT.Open
to "refresh" the output stream. So when I saved a new file, it was "clean".