Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Processing an XML file to VFP cursors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00904549
Message ID:
00905068
Vues:
31
Hi Jamie,

Thank you for your response. I am using VFP 8 and I tried to use the following .

However I am having a problem since loXMLAdapter.Tables.Count = 0 below, so therefore I get an error when I get to the next line. Am I doing something wrong here ??

LOCAL loXMLAdapter as XMLAdapter, loTable as XMLTable
loXMLAdapter=CREATEOBJECT("XMLAdapter")
loXMLAdapter.LoadXML('Customers.xml',.T.)
=MESSAGEBOX(STR(loXMLAdapter.Tables.Count),16,"TABLECOUNT")
loTable=loXMLAdapter.Tables.Item(1)
loTable.ToCursor()

Carmel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform