Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prob with XMLToCursor() in VFP 7
Message
From
12/02/2004 15:28:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Prob with XMLToCursor() in VFP 7
Miscellaneous
Thread ID:
00876826
Message ID:
00876826
Views:
85
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
Next
Reply
Map
View

Click here to load this message in the networking platform