Trying to use relative paths --- following some instructions I found on this site. This is my code:
XDocument.DataObjects("vw_Fedex_SPOD_N").DOM.setProperty("SelectionNamespaces",'xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields" ');
trackingnum = eventObj.Source.selectSingleNode("../@TransmartTrackingNumber").text;
With this syntax, I get the error that there is no object.
THANK YOU THANK YOU