Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent XMLTOCURSOR from throwing away leading ze
Message
De
12/12/2005 11:08:57
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01077117
Message ID:
01077158
Vues:
56
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform