Hi,
I am having problems with extracting values from a repeating table within an Infopath 2007 form, the following code will extract all node values, rather than just the repeating table, I only need
the table values, not the entire form. The table node name is group2, which I have selected, but for some reason it just ignores this, would anyone know where I am going wrong? any help would be greatly appreciated.
Dim navigator As XPathNavigator = CreateNavigator()
Dim nodes As XPathNodeIterator =
navigator.Select("/my:myFields/my:group2", NamespaceManager)
Dim nodesNavigator As XPathNavigator = nodes.Current
Dim nodestext As XPathNodeIterator =
nodesNavigator.SelectDescendants(XPathNodeType.Text, False)
While nodestext.MoveNext()
MessageBox.Show(nodestext.Current.Value)
End While
Thanks. Kevin.