<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Section within a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/54101.aspx</link><pubDate>Fri, 23 Apr 2010 17:43:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54101</guid><dc:creator>Selarim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54101.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54101</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Could you give the screenshot (will help me to understand)?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Repeating Section within a Repeating Section</title><link>https://www.infopathdev.com:443/forums/thread/53013.aspx</link><pubDate>Mon, 22 Mar 2010 21:39:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53013</guid><dc:creator>newbie999</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53013</wfw:commentRss><description>&lt;p&gt;I have a&amp;nbsp;drop down list which is&amp;nbsp;inside a repeating section. That is, the user can&amp;nbsp;choose&amp;nbsp;an employee&amp;nbsp;name from&amp;nbsp;the drop down, then&amp;nbsp;click &amp;quot;Insert item&amp;quot; and that will bring up another drop down with employee names from which the user may choose another name.&amp;nbsp; The user can do this for as many users as needed, each time bringing up a new drop down.&lt;/p&gt;
&lt;p&gt;Now for the repeating section in a repeating section part.&amp;nbsp; I&amp;nbsp;have a repeating section (separate from the one mentioned above) in which I get the ID of a an item and then provide the user with text boxes to provide feedback on that item. (I&amp;#39;ll call this the &amp;quot;outer&amp;quot; repeating section for lack of a better term).&amp;nbsp; I will have an indeterminate number of work items so I have made it a repeating section.&amp;nbsp; Within that repeating section, I would like multiple&amp;nbsp;users to be able to fill in text boxes so&amp;nbsp;I have created another repeating section (within the outer one)&amp;nbsp;with a textbox for feedback as well as a textbox&amp;nbsp;for the user name.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;My goal is to have the user select names from the drop downs mentioned in the first paragraph of this post, then have the user name appear in the text box in the (inner)&amp;nbsp;repeating section mentioned in the second paragraph.&amp;nbsp; I also want to make sure that the number of repeating sections created for the feedback/tester name section doesn&amp;#39;t exceed the number of users selected from the drop downs in paragraph #1.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I used this approach to make sure that the number of repeating sections is not greater than the number users selected:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bizsupportonline.net/infopath2007/programmatically-count-total-amount-repeating-sections-infopath.htm"&gt;http://www.bizsupportonline.net/infopath2007/programmatically-count-total-amount-repeating-sections-infopath.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, the problem I am having is that&amp;nbsp;iter.Count is incremented whenever&amp;nbsp;I insert&amp;nbsp; *either* repeating section.&amp;nbsp; How do I&amp;nbsp;differentiate between clicking insert&amp;nbsp;on the&amp;nbsp;outer and inner sections?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>