Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > Save/restore Re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4264 of 4320
Post > Topic >>

Save/restore Recordset doesn't work with IStream (Q242249)

by =?Utf-8?B?QXJpZWw=?= <Ariel@[EMAIL PROTECTED] > Jul 9, 2008 at 03:40 AM

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.
 




 3 Posts in Topic:
Save/restore Recordset doesn't work with IStream (Q242249)
=?Utf-8?B?QXJpZWw=?= <  2008-07-09 03:40:01 
Re: Save/restore Recordset doesn't work with IStream (Q242249)
"Bob Barrows [MVP]&q  2008-07-09 08:02:11 
Re: Save/restore Recordset doesn't work with IStream (Q242249)
=?Utf-8?B?QXJpZWw=?= <  2008-07-09 05:26:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:58:53 CST 2008.