<?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: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46842.aspx</link><pubDate>Thu, 10 Sep 2009 12:43:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46842</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46842</wfw:commentRss><description>&lt;p&gt;Thanks, that worked!&lt;/p&gt;</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46810.aspx</link><pubDate>Wed, 09 Sep 2009 21:32:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46810</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46810.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46810</wfw:commentRss><description>&lt;p&gt;It is important to note that rules fire when the field they are on changes. So if the rule is on the Amount field, and the amount doesn&amp;#39;t change, any rule on it won&amp;#39;t fire. I like Qazi&amp;#39;s suggestion of setting a default value instead on the Credit and Debit fields to sum the correct nodes. See the attached template for the general idea...&lt;/p&gt;</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46800.aspx</link><pubDate>Wed, 09 Sep 2009 17:35:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46800</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46800</wfw:commentRss><description>&lt;p&gt;Thank you for your response Qazi, but the calculation is pulling from a rule.&amp;nbsp; Is there a way to configure the rule to update the field&amp;#39;s value?&lt;/p&gt;</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46790.aspx</link><pubDate>Wed, 09 Sep 2009 15:28:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46790</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46790</wfw:commentRss><description>&lt;p&gt;the field in which you are writing the formula to calculate the sum, just check the box that says update the value when the result of the formula is recalculated&lt;/p&gt;</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46781.aspx</link><pubDate>Wed, 09 Sep 2009 14:21:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46781</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46781</wfw:commentRss><description>&lt;p&gt;I have another question!&amp;nbsp; Is there anyway to have the summed totals recaluculate when the values in the table change?&amp;nbsp; Currently, if something changes from a credit amount to a debit amount, the credit is not removed from the total.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you!&lt;/p&gt;</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46582.aspx</link><pubDate>Thu, 03 Sep 2009 20:44:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46582</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46582.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46582</wfw:commentRss><description>That worked, thank you so much!!</description></item><item><title>Re: Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46578.aspx</link><pubDate>Thu, 03 Sep 2009 20:30:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46578</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46578</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ll want to set the Credit field to Credit + Amount. I&amp;#39;ve attached a sample template to this post -- all the rules are on Amount (field2, sorry, I was lazy and didn&amp;#39;t rename). You can right click the link in the post header and save the template locally, then open in design mode and preview to test.&lt;/p&gt;</description></item><item><title>Conditional sum within a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/46568.aspx</link><pubDate>Thu, 03 Sep 2009 15:32:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46568</guid><dc:creator>Tracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46568.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46568</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am working in InfoPath 2003 and would like to sum data taken from a repeating table.&amp;nbsp; However, this sum needs to be based on the value of a second field.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;For example - the table has a column for Amount and a column for Credit/Debit.&amp;nbsp; If the Amount is&amp;nbsp;&amp;lt; 0, the value in the Credit/Debit column is set at C.&amp;nbsp; If the Amount is &amp;gt;/= 0, the value in the Credit/Debit column is set at D.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;My goal is to have a field labeled Credit equal the sum of Amount when Credit/Debit = C and a field labeled Debit equal the sum of Amount when Credit/Debit = D.&lt;/p&gt;
&lt;p&gt;I set the following rule from the Credit/Debit field:&amp;nbsp; If Credit/Debit = C then set the field Credit to equal the sum of Amount.&lt;/p&gt;
&lt;p&gt;However, the Credit field only shows that last value of Amount when Credit/Debit = C.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;How do I show the sum of Amount for each C and D?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Tracie&lt;/p&gt;</description></item></channel></rss>