Hi, I'm completely new to Infopath so I might be on the wrong track altogether, but I'm trying to read fields within a repeating group and I'm not sure what the correct method should be.
I have a simple form with an engineer name, followed by a repeating group of 2 fields, CustName and Miles.
I'm trying to loop through each item in this group and read the values. I'm sure its simple when you know how, but I've been trying various combinations of properties for XPathNavigator and XPathNodeIterator without success. I can read the engineer name just fine.
Here is a dump of the output from the form. Can anyone help? I'm using VB.Net
<?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.3"?><my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2011-04-11T09:34:15" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xml:lang="en-us">
<my:Engineer>Mr Smith</my:Engineer>
<my:entries>
<my:CustName>Somewhere</my:CustName>
<my:Miles>12</my:Miles>
</my:entries>
<my:entries>
<my:CustName>Somewhere else</my:CustName>
<my:Miles>20</my:Miles>
</my:entries></my:myFields>
Thanks