<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Nested repeating tables and sum</title><link>https://www.infopathdev.com:443/forums/thread/87419.aspx</link><pubDate>Mon, 25 Feb 2013 23:40:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87419</guid><dc:creator>DTshin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87419.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=87419</wfw:commentRss><description>&lt;p&gt;Just going back to this example, the original post mentioned that the amounts are stored in a NESTED repeating table:&lt;/p&gt;&lt;p&gt;&lt;b&gt;/my:RepeaterTable1/my:NestedRepeaterTable/my:MilestoneAmt (&lt;/b&gt;shown as the column &lt;b&gt;amt) &lt;/b&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been able to replicate this solution, but is there a way to do this summary of the MilestoneAmt &lt;b&gt;without creating a secondary repeating table&lt;/b&gt;?&lt;/p&gt;&lt;p&gt;In the example here (Summary View): http://www.infopathdev.com/files/folders/examples/entry41116.aspx, there is no secondary repeating table to store the summaries,probably because it&amp;#39;s just one level of repeating tables.  (I saw an example from Greg Collins: 
http://www.infopathdev.com/forums/storage/39/43749/SummaryTable.xsn - 
two ways of doing summary table: with filters OR with conditional 
formatting - nice, but again doesn&amp;#39;t have the nested repeating tables).&lt;/p&gt;&lt;p&gt;And if I &lt;b&gt;MUST need a secondary repeating table&lt;/b&gt;, is there a solution where the rows are dynamically summarized, &lt;b&gt;without needing the drop down controls&lt;/b&gt;?&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Nested repeating tables and sum</title><link>https://www.infopathdev.com:443/forums/thread/80953.aspx</link><pubDate>Tue, 24 Jul 2012 17:53:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80953</guid><dc:creator>Dev2112</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80953</wfw:commentRss><description>&lt;p&gt;Jimmy, yes I found the solution on another forum and it was to use current():&lt;/p&gt;&lt;p&gt;&amp;nbsp;sum(MilestoneAmount[MilestoneNumber1 = current()/../MilestoneNumber2]) &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;</description></item><item><title>Re: Nested repeating tables and sum</title><link>https://www.infopathdev.com:443/forums/thread/80943.aspx</link><pubDate>Tue, 24 Jul 2012 16:41:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80943</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80943</wfw:commentRss><description>&lt;p&gt;Could you post this formula with the XPath expanded?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; sum(MilestoneAmount[MilestoneNum1 = MilestoneNum2])&lt;/p&gt;&lt;p&gt;My guess is that you need to use current() somewhere and that the formula might have an absolute XPath instead.&lt;/p&gt;</description></item><item><title>Re: Nested repeating tables and sum</title><link>https://www.infopathdev.com:443/forums/thread/80920.aspx</link><pubDate>Tue, 24 Jul 2012 14:21:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80920</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80920</wfw:commentRss><description>&lt;p&gt;Is this what you&amp;#39;re looking for?&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/mel_balsamo/images/80669.jpg"&gt;&lt;img src="http://www.infopathdev.com/blogs/mel_balsamo/images/80669.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Nested repeating tables and sum</title><link>https://www.infopathdev.com:443/forums/thread/80669.aspx</link><pubDate>Tue, 17 Jul 2012 16:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80669</guid><dc:creator>Dev2112</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80669</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a repeating table on an entry form that has fields: Job Role, Rate, 
Hours and it has a nested repeating table with additional fields: dropdown for 
each Milestone M1, M2, etc (MilestoneNum1) and Milestone amount (MilestoneAmount 
= rate x hours) for this job role.&lt;/p&gt;
&lt;p&gt;So far so good.&lt;/p&gt;
&lt;p&gt;I have a second repeating table that is used for automatic Milestone summary 
calculation which has another dropdown field (MilestoneNum2) and Milestone total 
field (MilestoneCost) which should total the above repeating table values for 
the job roles for each milestone for the selected milestone in drop down.&lt;/p&gt;
&lt;p&gt;The formula used in MilestoneCost is:&lt;/p&gt;
&lt;p&gt;sum(MilestoneAmount[MilestoneNum1 = MilestoneNum2])&lt;/p&gt;
&lt;p&gt;This works fine when there is only one summary milestone item in the 2nd 
repeater table but when another item is added to say sum up all M1 and M2 
values it doesn&amp;#39;t work right. It basically does a joined conditional where if it 
finds MilestoneNum1 in any MilestoneNum2 value in the entire set in the 
RepeaterTable2 it returns a true condition. What I&amp;#39;m looking for is just a match 
for that specific MilestoneNum2.&lt;/p&gt;
&lt;p&gt;Here is the field layout:&lt;/p&gt;
&lt;p&gt;RepeaterTable1&lt;/p&gt;
&lt;p&gt;- JobRole&lt;/p&gt;
&lt;p&gt;- Rate&lt;/p&gt;
&lt;p&gt;- Hours&lt;/p&gt;
&lt;p&gt;- Nested RepeaterTable&lt;/p&gt;
&lt;p&gt;   - MilestoneNum1 (dropdown)&lt;/p&gt;
&lt;p&gt;   - MilestoneAmount&lt;/p&gt;
&lt;p&gt;RepeaterTable2&lt;/p&gt;
&lt;p&gt;- MilestoneNum2 (dropdown)&lt;/p&gt;
&lt;p&gt;- MilestoneCost&lt;/p&gt;

&lt;p&gt;Does anyone have any ideas how to make this work right?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;</description></item></channel></rss>