<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Looping through repeating table</title><link>https://www.infopathdev.com:443/forums/thread/61142.aspx</link><pubDate>Sun, 07 Nov 2010 18:37:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61142</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61142.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61142</wfw:commentRss><description>&lt;p&gt;Just tried that and it worked, thank you so much Jimmy.&lt;/p&gt;</description></item><item><title>Re: Looping through repeating table</title><link>https://www.infopathdev.com:443/forums/thread/61141.aspx</link><pubDate>Sun, 07 Nov 2010 18:16:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61141</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61141</wfw:commentRss><description>&lt;p&gt;You need to use a relative XPath in your SelectSingleNode() statement: &amp;quot;@DVRType&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Looping through repeating table</title><link>https://www.infopathdev.com:443/forums/thread/61139.aspx</link><pubDate>Sun, 07 Nov 2010 17:56:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61139</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61139</wfw:commentRss><description>I cant even write the code properly in this forum. :(

Help is urgently required. :(</description></item><item><title>Looping through repeating table</title><link>https://www.infopathdev.com:443/forums/thread/61137.aspx</link><pubDate>Sun, 07 Nov 2010 17:34:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61137</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=61137</wfw:commentRss><description>This has probably been answered a billion times before but I have not been able to jump this hurdle. :(

Im in need of some serious help. I have a infopath form with a repeating table. Now I want to be able to read all the values in each row for the repeating table.

At the moment Im using the following code:


[CODE]
Dim field1 As String
Dim domNav As XpathNavigator = CreateNavigator()
Dim rows As XpathNodeIterator = domNav.Select( _
&amp;quot;/dfs:myFields/dfs:dataFields/d:tblSite/d:tblCctv/d:tblDVR&amp;quot;, NamespaceManager)

While rows.MoveNext()

field1 = rows.Current.SelectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/d:tblSite/d:tblCctv/d:tblDVR/@DVRType&amp;quot;, NamespaceManager).toString

End while
[/CODE]

I know it is going through the loop correctly as I tested it with a variable to count how many times it goes through, but when I test it tried to read the first field in each row its always the first rows first field which prints.</description></item></channel></rss>