Hi, I need help with this. I tried everything (see below) but this doesn't
work for a more real-life example.
If you look at Q242249, it shows a simple example on how to serialize a
Recordset into an IStream. It works for me. But this example is extremely
simple, it doesn't really test a real recordset (it doesn't even have
data,
it just create an empty schema).
So if I try this same example but, rather than using the existing
CreateTestRS() function I load a real recordset from an XML, then I store
it
in a IStream and use it later to restore it to a Recordset, save it to a
XML
file and compare it, the results are very different. In fact, the
"restored"
XML from the recordset is plenty of NULLs in many places that makes the
XML
unusable.
So this method doesn't work. Or at least not in real life. Looks like a
bug
either in serializing or loading Recordset functionality.
Any help really appreciated. I can provide sample code and sample in/out
files to demonstrate this doesn't work.


|