Copy XML talbes
I'm trying to copy a table, into two other tables, but all I'm getting is the reference to each other.
The main reason, is I don't want my SQL being accessed three times, for the same data. I tired obj.getXML(); with no luck.
When I go to read a value from tableReason, is gives me an error saying it's null or not an object
var tableOrder = new Active.XML.Table;
tableOrder.setURL("http://12pcroom/QuoteFeedback/template/Get_Codes.xml");
var tableReason = tableOrder;
var tableComp = tableOrder;
tableOrder.setRows("//root/OrderStatusCodes");
tableReason.setRows("//root/ReasonCodes");
tableComp.setRows("//root/Competitors");
tableOrder.request();
tableReason.request();
tableComp.request();
The main reason, is I don't want my SQL being accessed three times, for the same data. I tired obj.getXML(); with no luck.
var tableReason = tableOrder.getXML();
When I go to read a value from tableReason, is gives me an error saying it's null or not an object
Matt
September 9,