Ok I am trying something here. I'll post the code and if someone can tell me if I'm on the right track or if there are specific reasons why I shouldn't do it this way, please let me know. Currently this code pulls the whole set of data over, and then swaps out the part I'd been filtering to. My goal is to figure out how to do this so that I'm only pulling the info from the web service.
' vb doesn't use xDocument, so I cheated and added a
reference to Microsoft.Office.Interop.InfoPath
Dim mgr as String
Dim xDoc As XDocument
Dim oldData As
XmlNode
' mgr = UCase(Environ("UserName"))
' I'm using the above line real-time, for testing I'm using a manager's Login Id
mgr = "MAYOUNG"
' reference to my webservice
Dim myData As New tar.Service1
Dim myNode As XmlNode
' retrieve the xml node from the webservice specifically for this manager
myNode = myData.GetData(mgr)
' set the xDoc object to this document
xDoc = Me
' set oldData xmlnode to the top node in the secondary data source,
' I want to figure out a way to replace or populate it before the form loads if possible
oldData = xDoc.DOM.selectSingleNode("/Data")
' Use the replace child method to swap out the whole data set for just the nodes pertinent to the current manager.
xDoc.DOM.replaceChild(oldData, myNode)