<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Count Question on Repeating Choice Group inside a Repeating Section with Controls</title><link>https://www.infopathdev.com:443/forums/thread/104088.aspx</link><pubDate>Mon, 21 Sep 2015 21:44:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104088</guid><dc:creator>jack eagly</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104088</wfw:commentRss><description>&lt;p&gt;Thank you, this solution has saved me many times.&amp;nbsp; However, now I&amp;#39;m trying to use it in a repeating section that has 17 stacked&amp;nbsp;repeating sections created from referencing the first one.&amp;nbsp; Now when I run the form my first count shows 18 rows do to the 17 other referenced repeating sections because&amp;nbsp;it references SubParaSS1.&lt;/p&gt;&lt;p&gt;count(current()/../preceding-sibling::my:SubParaSS1) + 1&lt;/p&gt;&lt;p&gt;Please tell me I don&amp;#39;t have to create 17 seperate repeating sections.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Jack&lt;/p&gt;</description></item><item><title>Re: Count Question on Repeating Choice Group inside a Repeating Section with Controls</title><link>https://www.infopathdev.com:443/forums/thread/102805.aspx</link><pubDate>Wed, 10 Jun 2015 16:50:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102805</guid><dc:creator>Bre Huston</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102805</wfw:commentRss><description>&lt;p&gt;Hi Jack,&lt;/p&gt;
&lt;p&gt;That is a common feature we implement in our forms. If you need to store the count I would use a formula as a default value, otherwise you can use a calculated value with a default. Here&amp;#39;s an example formula:&lt;/p&gt;
&lt;p&gt;count(current()/../preceding-sibling::my:group2) + 1&lt;/p&gt;
&lt;p&gt;I have also attached a simple example form for reference. &lt;/p&gt;
&lt;p&gt;With the use of current() in your formula, just be careful that the function is not deleted I you change your data source. InfoPath has a tendency to take that part out of the formula if your data source changes so you&amp;#39;ll sure need to add it back.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;br /&gt;Bre&lt;/p&gt;</description></item><item><title>Count Question on Repeating Choice Group inside a Repeating Section with Controls</title><link>https://www.infopathdev.com:443/forums/thread/102735.aspx</link><pubDate>Wed, 03 Jun 2015 19:27:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102735</guid><dc:creator>jack eagly</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=102735</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to add a repeating choice group under a repeating section with controls to my form.&amp;nbsp; I need to add the number to the left of the choice as&amp;nbsp;added.&amp;nbsp; I tried inserting a function that reads &lt;/p&gt;&lt;p&gt;concat(&amp;quot;(&amp;quot;, count(..), &amp;quot;)&amp;quot;) where .. is the repeating section with controls group.&amp;nbsp; The formula is accepted but when I run the form and add a choice both choices read 1.&lt;/p&gt;&lt;p&gt;Any help is appreciated.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>