>Cetin,
>
>Thanks for the information. I'm trying to convert an XML file to a foxPro cursor. I was wondering if I could get an object reference to the visual foxpro 9.0 XMLTOCURSOR function.
>
>Brad
XMLToCursor() is a function that doesn't have any object reference to get. I meant you could call it from an external nonVFP application by using VisualFoxpro.Application (if exists) or via OLEDB using ExecScript(). Here is a sample:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2645213&SiteID=1Don't let the code has "CursorToXML" and not "XMLToCursor" in it misguide you. Depending on need it might be "XMLToCursor".
Cetin