Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help! cursortoXML() and binary data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Help! cursortoXML() and binary data
Divers
Thread ID:
00588195
Message ID:
00588195
Vues:
65
am trying to get a class definition to be returned by a webservice. Before I got that far, I ran into issues with the vfp XML functions and attempting to do it within VFP.

here is my code to get the class:

FUNCTION Checkout(classname AS STRING)
SELECT * FROM c:\test\test.vcx WHERE objname == ?classname INTO CURSOR class_def
CURSORTOXML("class_def","_classdef",1,4096)
RETURN _classdef


upon getting the string back, I try to "unpack" it with xmltocursor()

XMLTOCURSOR(o.Checkout(),"NewClass" ,4096)

the class is an olebound control and it always blows up on the ole field of the xml string

Obviously I have no freaking idea what I am doing, but I do (Wayne) seem to be holding my mouth right.


Any suggestions?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform