Hallo Everyone
I'm working with Infopath 2007 and I'm trying to populate a combobox. I managed to do this just fine. What I want to do next is only display the items that belongs to the current user. I was able to find the current user.
Everywhere I see people talking of XDocument which I've noticed was in Infopath 2003. Someone told me that this was replaced by XmlDocument. But this does not seem to help me with my problem.
I'm trying to change the Query for one of my Secondary Data Connections. I've seen this done like this:
XDocument.DataObjects["Detail"].QueryAdapter.Command = "<Select query goes here>"
But this does not seem to work as it cant find XDocument?
Please advice
James Laker