Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to have vfp cursor or vfp table from a xml file ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01519336
Message ID:
01519690
Vues:
68
This message has been marked as a message which has helped to the initial question of the thread.
Bernhart,

Error "XML schema too compex" means you can't use xmladapter. Period.
In short, you need to use your own routine that would get data from xml file, and piece by piece, and put data into prepared cursors.
You should know in advance how many cursors you need, and how they relate to each other.

What method you use to read xml file and to extract information from there, it depends on your preferences and experience. Among methods are msxml.domdocument and Excel Automation, to name a few. For instance you can open xml file in Excel, and in one worksheet you will get field headers and data.

Hope you understand the idea.

Good Luck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform