F
Francisco
I am newbie at InfoPath. I want to get all the values in a repeating table.
I found this code in one questions but I am not able to make it work. I am
using InfoPath 2007 these are the error I got. Please help!
Errors:
'CreateNavigator' is not declared
'NamespaceManager' is not declared
Dim navigator As XPathNavigator = CreateNavigator()
Dim nodes As XPathNodeIterator = navigator.Select("/my:myFields/my:group2",
NamespaceManager)
While nodes.MoveNext()
MessageBox.Show(nodes.Current.SelectSingleNode("my:firstfieldinrow",
NamespaceManager).Value)
MessageBox.Show(nodes.Current.SelectSingleNode("my:secondfieldinrow",
NamespaceManager).Value)
End While
I found this code in one questions but I am not able to make it work. I am
using InfoPath 2007 these are the error I got. Please help!
Errors:
'CreateNavigator' is not declared
'NamespaceManager' is not declared
Dim navigator As XPathNavigator = CreateNavigator()
Dim nodes As XPathNodeIterator = navigator.Select("/my:myFields/my:group2",
NamespaceManager)
While nodes.MoveNext()
MessageBox.Show(nodes.Current.SelectSingleNode("my:firstfieldinrow",
NamespaceManager).Value)
MessageBox.Show(nodes.Current.SelectSingleNode("my:secondfieldinrow",
NamespaceManager).Value)
End While