destination | [optional] (Variant) Specifies where to save the AdoRecordset object (the path name to the file or a reference to a Stream object). |
---|---|
persistformat | [optional] (Long) The PersistFormatEnum value that specifies the format of the Recordset (XML or ADTG).
0 (default) - adPersistADTG Saves in the Microsoft Advanced Data TableGram (ADTG) format.
1 - adPersistXML Saves in the XML format (Extensible Markup Language).
1 - adPersistADO Saves in ADO's own Extensible Markup Language (XML) format.
This value is the same as adPersistXML and is included for backwards compatibility. 2 - adPersistProviderSpecific The provider will persist the Recordset using its own format. |
oRs.Save("C:\\\\Data\\\\testdata.dat", 1);
oRs.Close();