Conent deleted.
Changing Dim dataFields As XPathNavigator = MainDataSource.CreateNavigator.SelectSingleNode("/my:myFields/my:QueryResults", to "dfs::myFields/my:QueryResults" fixed a separate problem with a null reference. But I didn't really understand what I was doing (in InfoPath terms). When I look in my data sources, everything is prefixed with dfs:
What is it with this my: and dfs: (and I've seen tns: as well)? Any clarification would be most welcome.
Cheers,
Donna