Emmanuel,
TClientDataSet SaveToFile() method stores the database metadata (AKA schema),
but not Delphi object's attributes (e.g. filter). It can also store the data
(and metadata) for nested queries (master-detail relation).
BTW, Oracle (and possibly other RDBMS) will readily load the XML created by the
above method (though the converse is not true without some minor "massaging" of
the output). That XML provides a convenient cross-platform interface, and,
though voluminous, is readily compressed by Zip or other mechanism.
> I have been using the TClientDataset "SaveToFile" and "LoadFromFile"
methods for a long
> time, but never realized that the file "FileName"
also holds the TClientDataset object
> structure along with the data.
Thank you, Robert. You opened my eyes.
> Emmanuel
[Non-text portions of this message have been removed]