<?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: Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57574.aspx</link><pubDate>Tue, 03 Aug 2010 13:22:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57574</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57574</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you anyway for trying mgarant.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57570.aspx</link><pubDate>Tue, 03 Aug 2010 12:57:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57570</guid><dc:creator>mgarant</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57570</wfw:commentRss><description>&lt;p&gt;humm... I have no idea how to do this i&amp;#39;m afraid...&amp;nbsp;&amp;nbsp; Maybe someone else could help on this?&lt;/p&gt;</description></item><item><title>Re: Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57556.aspx</link><pubDate>Tue, 03 Aug 2010 08:23:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57556</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57556.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57556</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi. I think I did not explained exactly what I intended to do. I want to read the names of the fields from one repeating table not the values. Using the names, I will add values into them. So if a repeating table would be like: Group 1 -&amp;gt; Group 2 -&amp;gt;Field1, Field 2, ..., Field n I want to read the names Field1, ..., Field n into an array and use them later. Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57553.aspx</link><pubDate>Tue, 03 Aug 2010 07:01:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57553</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57553</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you so much!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57526.aspx</link><pubDate>Mon, 02 Aug 2010 12:43:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57526</guid><dc:creator>mgarant</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57526</wfw:commentRss><description>This is the way to loop through a repeating table (C#) and to read the values of the fields. 
&lt;p&gt;&lt;code&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; root = MainDataSource.CreateNavigator();&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNodeIterator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; RepTable = root.Select(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myFields/my:NonConformes/my:RepeatingTable&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;while&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (RepTable.MoveNext())&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;{ &lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp; string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Insp = RepTable.Current.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;my:Field&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value;&lt;/font&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; //Do something with the fields&lt;/code&gt;&lt;code&gt;&lt;font size="2"&gt;&lt;br /&gt;} &lt;/font&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Read the elements of repeating table</title><link>https://www.infopathdev.com:443/forums/thread/57520.aspx</link><pubDate>Mon, 02 Aug 2010 10:15:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57520</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=57520</wfw:commentRss><description>&lt;p&gt;Hi. I want to create function which will add information to any repeating table no mater how many columns it has, but in order to do this I need to know if there is a way to read the element of a repeating table using code. By elements I mean the fields. How can this be done. Thank you! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>