Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorToXML()
Message
 
To
01/05/2002 13:11:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00650814
Message ID:
00651440
Views:
16
I normally avoid using Reserved words. The below XML snippet was cut out of a much larger snippet. I am using Win2k SP2 VFP 7.0 SP1 as you are however I got everythinhg working even using reserved words. I am not sure what is going on on yourside.

>< snip >
>
>><?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
>><VFPData>
>>	<cssettings name="cntGetProductionDirectory" value="" type="C" width="0" precision="0"/>
>>	<cssettings name="cntGetWorkDirectory" value="" type="C" width="0" precision="0"/>
>></VFPData>
>
>>
>>When I turn this back into a cursor with XMLTCursor() the width and precision fields come in as logical data types with a value of .F. instead of numerical data types with a value of 0.
>>
>>Enlightenment would be appreciated.
>
>You use reserved words for field names - better avoid them. I was not able to render the above XML on my VFP7 SP1 (Win2k) - it raised an XML Parse error.
>Regards
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform