I am trying to use the code you posted a long time ago that creates multiple cursors from an XML but I am getting an error "OMXL is not found" error. I am trying to run it by highlighting the code in a prg file. Can you tell me what boneheaded mistake I am making here? PLEASE!
* test
Local loXMLRequest, lcXML, loXMLAdapter, loXMLTable
Close Tables All
loXMLRequest = CreateObject("Msxml2.xmlhttp")
loXMLRequest.open("GET","loXMLRequest.send(.null.)
lcXML = oXML.responseText // this is where I get my error, I am using VFP 9
loXMLAdapter = CreateObject("XMLAdapter")
loXMLAdapter.LoadXML(lcXML,.F.,.T.)
For Each loXMLTable in loXMLAdapter.Tables
loXMLTable.ToCursor()
EndFor
SET
* test
Local loXMLRequest, lcXML, loXMLAdapter, loXMLTable
Close Tables All
loXMLRequest = CreateObject("Msxml2.xmlhttp")
loXMLRequest.open("GET","loXMLRequest.send(.null.)
lcXML = oXML.responseText // this is where I get my error, I am using VFP 9
loXMLAdapter = CreateObject("XMLAdapter")
loXMLAdapter.LoadXML(lcXML,.F.,.T.)
For Each loXMLTable in loXMLAdapter.Tables
loXMLTable.ToCursor()
EndFor
SET