[AccessD] ADO Save recordset format adPersistADTG

Gustav Brock Gustav at cactus.dk
Thu Jun 15 04:05:26 CDT 2006


Hi Lambert

Yes, the database - as we understand it - is not there as the recordset is disconnected.
Also, it shows that the Save and Open methods can be used to save and reload a snapshot (a file) of a recordset.

/gustav

>>> Lambert.Heenan at AIG.com 14-06-2006 20:33 >>>
This reference  gives an example of what it's for. The idea is you can
create an application that uses database methods, without there actually
being a database!

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dninvb00/html/ADORecordset.asp


Lambert

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Wednesday, June 14, 2006 2:13 PM
To: accessd at databaseadvisors.com 
Subject: [AccessD] ADO Save recordset format adPersistADTG


Hi all

With ADO you can save a recordset to a file, normally an XML file, but
another format, Microsoft Advanced Data TableGram, exists:

  rst.Save "d:\temp\records.dat", adPersistADTG

Where or why could this binary format be used? 
It creates file sizes about 1/3 of the XML file created if adPersistXML had
been used. Is it just a proprietary format for storing and retrieval of data
to/from a single external file?

/gustav




More information about the AccessD mailing list