Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recordset to Cursor
Message
 
À
22/02/2006 12:17:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01098156
Message ID:
01098229
Vues:
15
xDOM = NEWOBJECT('MSXML.DOMDocument')
oRS.Save(xdom, 1)
XMLTOCURSOR(xdom.xml, "MyCursorName", 1028)
>PS: Wouldn't work with all type of ADO recordsets - they don't work by any means anyway.
>Cetin

OK Cetin, this works. The only problem it has is with unsafe characters (such as if the data holds URLs and such). That's what was throwing the error and causing the XML not to be created properly. I wish there was an easy way to escape the unsafe characters using the DOMDocument object, but I guess I can't have it all. Thank you for this, and if you'll be kind enough to reply to this post, I'd like to mark your reply as the solution since I guess I can't change the earlier help star I gave you to a solution.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform