Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Prob with XMLToCursor() in VFP 7
Hi Y'all,
I have tried to issue the following command:
XMLTOCURSOR(lcXMLData,tcCursorName,4)
where lcXMLData is an XML string held in a memvar, without a scheme (or it is an "embedded" schema) and tcCursorName is "CorrespondenceTypes" and 4 means "retain white space". Users get a bomb every 2nd time they run this code (why it does not happen every time, I have no idea - and note, the user can use it one time but then not the next time and visa versa).
The error that is thrown is "create cursor CorrespondenceTypes from array _XMLCalvinh"
I did a search hear and for that user, the answer was to install a new version of MSXML 3.0. I have not tried this (yet) - it seemed like the answer was that to use XMLTOCURSOR() that this .dll had to be installed - but I thought that VFP did not rely upon installing new .dlls along with the product. Do I have to install it on every person's PC or can I just dump it into the default directory for the app (which is what I have done with a couple other dll's that I have had to use over time).
Thanks,
Albert
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