Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Help! cursortoXML() and binary data
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement