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 RDS > Maybe it's a bu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 283 of 305
Post > Topic >>

Maybe it's a bug about ADO.Recordset

by =?Utf-8?B?TG9ycnkgQXN0cmE=?= <LorryAstra@[EMAIL PROTECTED] Aug 15, 2006 at 02:02 AM

hi,
   i encountered a difficulty when i tried to open a DomDo***ent object.
And 
i could get different RecordCount when i open the xml.
   pls follow my way to recap the scene.
1. rs.Save Domtmp, adPersistXML (rs is an object of the ADO.Recordset, and

to be sure the rs.recordcount is more than 2 now)
2. To revise Domtmp. 
   for example:
   To revise this xml style 
    <rs:data>
                <z:row ....../>
                <z:row ....../>
                <z:row ....../>
   </rs:data>
   to the style below.
     <rs:data>
                <z:row ......></z:row>
                <z:row ......></z:row>
                <z:row ......></z:row>
   </rs:data>

3.Both the two style are correct. But when we load then style which is 
changed.
  DomTmp.loadxml(.....);
 And i use a ADO RecordSet object to open it.
  rs.open DomTmp
 And now u check the recordcount, it's 1 instead of  3. But i think 3 is 
correct. In my opinion, there is something wrong when ADO.RecordSet
analyzes 
the xml style.
 Could u tell me how to resolve it. Thanks

My Dev Environment:
Win2000 sp4
ADO 2.6


                                                                          
  
 Sincerely,
                                                                          
  
                            Lorry
 




 1 Posts in Topic:
Maybe it's a bug about ADO.Recordset
=?Utf-8?B?TG9ycnkgQXN0cmE  2006-08-15 02:02:02 

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 14:31:36 CST 2008.