<?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: Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76914.aspx</link><pubDate>Tue, 27 Mar 2012 21:13:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76914</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76914.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76914</wfw:commentRss><description>&lt;p&gt;Hi Hilary, &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks for the reply.&amp;nbsp; I already tried it, but it give me an error message&amp;nbsp;regarding &amp;#39;exceeding the maximum limit&amp;#39; -- which I think is related to the Date Difference calculations I followed from the link on my first post.&amp;nbsp; So, I&amp;#39;m trying to find another way to do the calculations via rule as suggested from the same site.&amp;nbsp; Thanks again.&lt;/p&gt;</description></item><item><title>Re: Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76913.aspx</link><pubDate>Tue, 27 Mar 2012 21:06:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76913</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76913</wfw:commentRss><description>&lt;p&gt;Well, just to be annoyingly specific, a repeating table and a repeating section are just controls - the underlying data structure (which is a repeating group) is the same. Now, if you want to sum a field like TotalOP, you can put an expression box inside a section bound to group1 and use the formula sum(&lt;em&gt;&lt;u&gt;POP_TotalOP&lt;/u&gt;&lt;/em&gt;), selecting the field using the field picker - that will just sum all POP_TotalOP nodes that are a child of group1. If you have a field you want this value in, you&amp;#39;d use the same formula - just sum the nodes, no need for preceding sibling.&lt;/p&gt;</description></item><item><title>Re: Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76906.aspx</link><pubDate>Tue, 27 Mar 2012 17:50:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76906</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76906.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76906</wfw:commentRss><description>&lt;p&gt;I am still confused about preceding-sibling.&amp;nbsp; I think I understand the use of it in repeating table but when I try to apply it to repeating section, it doesnt work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is structure of my fields:&lt;/p&gt;
&lt;p&gt;
&lt;table class="" style="WIDTH:159pt;BORDER-COLLAPSE:collapse;" cellspacing="0" cellpadding="0"&gt;








&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;WIDTH:65pt;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="3"&gt;&lt;font face="Calibri" size="3"&gt;myFields&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;WIDTH:25pt;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;WIDTH:21pt;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;WIDTH:48pt;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="3"&gt;&lt;font face="Calibri" size="3"&gt;POPCalculator&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="2"&gt;&lt;font face="Calibri" size="3"&gt;group1&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="2"&gt;&lt;font face="Calibri" size="3"&gt;group2&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="2"&gt;&lt;font face="Calibri" size="3"&gt;group3&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;|&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;group4&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;|&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;Bgn_Date&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;|&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;End_Date&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;|&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;DateDiff&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;|&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;OPAmount&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="2"&gt;&lt;font face="Calibri" size="3"&gt;WBA&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="2"&gt;&lt;font face="Calibri" size="3"&gt;TotalOP&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="HEIGHT:15pt;"&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;HEIGHT:15pt;BACKGROUND-COLOR:transparent;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;mso-ignore:colspan;" colspan="3"&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;/td&gt;
&lt;td class="" style="BORDER-RIGHT:#e0dfe3;BORDER-TOP:#e0dfe3;BORDER-LEFT:#e0dfe3;BORDER-BOTTOM:#e0dfe3;BACKGROUND-COLOR:transparent;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Group4 is my repeating table.&amp;nbsp; Group3 contains the footer and header for the repeating table. Group2 is the repeating section. Group1 contains the field &amp;#39;GrandTotal&amp;#39; where I want to display the sum(TotalOP)&lt;br /&gt;I made various attempts to use the preceding-sibling for my repeating section but all failed. I googled but I can&amp;#39;t find anything that would work, or maybe I just didnt understand much about preceding-sibling. &lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my last attempt: sum(../preceding-sibling::my:group3/../my:POP_TotalOP) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help is greatly appreciated.&amp;nbsp; Thanks, &lt;/p&gt;</description></item><item><title>Re: Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76886.aspx</link><pubDate>Tue, 27 Mar 2012 00:03:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76886</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76886.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76886</wfw:commentRss><description>&lt;p&gt;Sometimes it seems the act of asking the question helps us find the answer on our own... Thanks for updating with your resolution.&lt;/p&gt;</description></item><item><title>Re: Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76885.aspx</link><pubDate>Mon, 26 Mar 2012 23:51:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76885</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76885.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76885</wfw:commentRss><description>&lt;p&gt;I always seem to find the answers right after I post the question. Sorry, please disregard my previous post. After many attempts to use preceding-sibling, I finally got the correct syntax. :)&lt;/p&gt;
&lt;p&gt;This is the value&amp;nbsp;I used for the 3rd action:&lt;br /&gt;sum(../preceding-sibling::*/my:OPAmount) + ../my:OPAmount&lt;/p&gt;</description></item><item><title>Sum of repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/76877.aspx</link><pubDate>Mon, 26 Mar 2012 23:18:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76877</guid><dc:creator>AzuDaioh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76877.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=76877</wfw:commentRss><description>&lt;p&gt;I have a repeating table with the following fields:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;WBA&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;StartDate&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;EndDate&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;DateDiff&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;OPAmount&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;And a repeating table footer with the following field:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;TotalOP&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;To calculate the DateDiff, I followed the steps here: &lt;a href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/"&gt;http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/&lt;/a&gt;&lt;br /&gt;The finalize rule is set on [DateDiff] field.&lt;/p&gt;
&lt;p&gt;To calculate the OP Amount, I modified the &amp;#39;finalize&amp;#39; rule adding the following action:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;2nd action&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Action: Set a Field Value&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Field: OPAmount&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Value: WBA / 7 * DateDiff&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;Now, I would like to sum the [OPAmount] column so I set the default value of [TotalOP] = sum(OPAmount).&amp;nbsp; However, I got an error message about &amp;#39;exceeding the maximum limit&amp;#39; so upon further research, I&amp;nbsp;need to modifiy the &amp;#39;finalize&amp;#39; rule to calculate my [TotalOP] field so I added:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;3rd Action&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Action: Set a Field Value&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Field: TotalOP&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Value: sum(OPAmount)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;The third action in the finalize rule does not sum up the [OPAmount] column. It only displays the OPAmount value on the *last* row.&amp;nbsp; Is there a way to calculate the [TotalOP] each time a row is added?&amp;nbsp; I also posted a question on Alec&amp;#39;s site.&amp;nbsp; But, I&amp;#39;m hoping I can get someone else to enlighten me about repeating tables and rules.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>