Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent XMLTOCURSOR from throwing away leading ze
Message
From
12/12/2005 11:08:57
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01077117
Message ID:
01077158
Views:
55
>>Thanks Sergey. Your code does the trick.
>>
>>I tried to modify it slightly to eliminate the TEXT TO command and use the XML string that oHTTP.ResponseText returns but it fails to put any records into the cursor. Any idea why it doesn't work this way? I'm trying to prevent having to do the intermediate step of STRTOFILE(oHTTP.ResponseText).
>
>Mike,
>
>You got no records or bunch of blank records?

Sergey,

My mistake. I just retested it and it works. I must have had different field names in my cursor. I guess that the cursor's field names must be exactly the same as the XML tags?

Thanks,

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform