oXMLHttp = CREATEOBJECT("Microsoft.xmlhttp") oXMLHttp.open("POST", "https://wwwcie.ups.com/ups.app/xml/Rate", .T.) oXMLHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded") xx=alltrim(holdxml.holdxml) && this is a memo field in the holdxml table which holds the request string oXMLHttp.send(xx) lcxml=oxmlhttp.responsetext **11-24-08 intercept error with on error() IF problem && connecting to internet **handle the problem else = XMLTOCURSOR(lcxml,"") && transfer xml return to xmlresult cursor *etc. endif