Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flaw in xmltocursor()
Message
From
14/06/2006 08:46:12
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01128952
Message ID:
01128960
Views:
21
You are correct. The problem arrived when I converted the cursor to a table <s>

mea culpa, mea maxima culpa!

Thanks


>Hi Peter,
>
>I don't see it. In my test code below the fields with names longer than 10 characters are handled properly. What's different in your case? Can you change my code to demondtrate the problem?
>Open database (HOME(2) + "Northwind\northwind.dbc")
>? CURSORTOXML(0, "Customers.xml", 1, 512, 0, "1")
>? XMLTOCURSOR("Customers.xml", "CRSCustomers", 512)
>BROWSE LAST
>
>
>
>>I just dicovered a MAJOR flow in XMLTOCURSOR() function.
>>
>>If the field name exceeds 10 char this column remains blank!
>>
>>
>>Peoplesoft folks use lots of long fieldnames and none of those data get imported!!!!!
>>
>>
>>so I have to revert to manually parsing the xml file.
>>
>>What a pitty!
>>
>>Peter
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform