Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLtoCURSOR
Message
From
15/08/2006 10:37:53
 
 
To
15/08/2006 10:23:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01145575
Message ID:
01145577
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform