Are you using SQL Server 2000? If so, you can configure it so that the result is in XML format..... which you should be able to load into an XML Dom document and save to the harddrive..... having never done that, I don't know how it would work.... but....

you oculd loop through each record, for each field, and write out hte XML yourself... something like this:
VB Code:
  1. Dim fld As ADODB.Field
  2.  
  3.   xml = xml & "<Customers>"
  4. Do While Not rs.EOF
  5.   xml = xml & "<Customer>"
  6.   For Each fld In rs.Fields
  7.     xml = xml & "<" & fld.name & ">" & fld.value & "</" & fld.Name & ">"
  8.   Next
  9.   xml = xml & "</Customer>"  rs.MoveNext
  10. Loop
  11.   xml = xml & "</Customers>"
  12. 'open file and save the XML....

TG