<?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: Get the number of items in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/23917.aspx</link><pubDate>Tue, 23 Oct 2007 09:59:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23917</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23917.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23917</wfw:commentRss><description>&lt;p&gt;Great news&lt;/p&gt;
&lt;p&gt;Glad that I could help&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Re: Get the number of items in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/23899.aspx</link><pubDate>Mon, 22 Oct 2007 18:54:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23899</guid><dc:creator>amsyo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23899.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23899</wfw:commentRss><description>&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;Yes, you are right ! It works.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why but I though that default values only get &amp;quot;initialized&amp;quot; at formload() and that&amp;#39;s it. So I learned 2 things in one shot :)&lt;/p&gt;
&lt;p&gt;Have a good day !&lt;/p&gt;</description></item><item><title>Re: Get the number of items in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/23896.aspx</link><pubDate>Mon, 22 Oct 2007 18:14:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23896</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23896.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23896</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Welcome to the forum&lt;/p&gt;
&lt;p&gt;Rules only fire once their condition is satisfied, and not any more, which is useful in some circumstances but not for your particular use.&amp;nbsp;&amp;nbsp;You are better setting the default value of your count field to Count() and leave the &amp;quot;Update this&amp;nbsp;value when the&amp;nbsp;result of the formula is recalculated&amp;quot; ticked, that way it will add and subract to your hearts content.&lt;/p&gt;
&lt;p&gt;Double-click the count field and click the fx button and add the function count() and insert one of the fields you wish to count, job done.&lt;/p&gt;
&lt;p&gt;Best of luck with this wonderful tool&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Get the number of items in repeating section</title><link>https://www.infopathdev.com:443/forums/thread/23888.aspx</link><pubDate>Mon, 22 Oct 2007 16:05:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23888</guid><dc:creator>amsyo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=23888</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a repeating section and I want to know all the time the number of items inside the section. So I added a rule on the section to set a field&amp;#39;s value to &amp;quot;count(repeating section)&amp;quot;. This works only when the user inserts items, but not when the user deletes items from the repeating section. For some reason the rules aren&amp;#39;t fired on the delete event.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am looking for a way to count the items in the repeating section (automatically, not by clicking a buton).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you,&lt;/p&gt;
&lt;p&gt;Andrei Gavrila&lt;/p&gt;</description></item></channel></rss>