Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLtoCURSOR
Message
De
15/08/2006 10:37:53
 
 
À
15/08/2006 10:23:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01145575
Message ID:
01145577
Vues:
16
You need a schema that specifies the data type of each field. When you do CURSORTOXML, one of the parameters specifies to save the schema. You can save it with the XML or in a separate file.

>I have an xmlstring like this created with cursortoxml:
>
>
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
><VFPData>
>	<ccoutput>
>		<ctxt>test group 1</ctxt>
>		<iid>1</iid>
>	</ccoutput>
></VFPData>
>
>
>coming from a cursor (ctxt c(30),iid I)
>when I convert to a cursor again with xmltocursor the integer field iid is .t. instead of 1
>
>how can I get around this problem. Can I somehow on the cursortoxml statement include a schema?
>???
>
>
>thanks
>
>Peter
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform