<?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: update a row within a repeating table with data from another repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/92658.aspx</link><pubDate>Sun, 01 Sep 2013 22:52:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92658</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92658</wfw:commentRss><description>&lt;p&gt;If the other repeating table is inside the current one, you can use the same current() technique to do it. Make sure you add a filter that selects the secondary data source first and then compare it to the actual selected value field in the main data source. You should end up with two current() expressions in your xpath. If not, try again as sometimes InfoPath infers the wrong thing. You can also manually add the filter using current() but it&amp;#39;s&amp;nbsp;trickier.&lt;/p&gt;</description></item><item><title>update a row within a repeating table with data from another repeating table.</title><link>https://www.infopathdev.com:443/forums/thread/92514.aspx</link><pubDate>Mon, 26 Aug 2013 15:27:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92514</guid><dc:creator>jorow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92514</wfw:commentRss><description>&lt;p&gt;Hi, I have been trying to configure an infopath 2010 form where I have a repeating table built from a Sharepoint list which automatically completes rows based on entries within the list - basically when the form is opened a table is presented with several rows containing Expense Categories and their relevant codes.&amp;nbsp;The form itself is for personal expenses so I have another Repeating Table which provides a dropdown selection containing Expense Categories (these are included in the Sharepoint list), so basically what happens is a user will complete rows in the first repeating table selecting the relevant Expense Category and entering an amount which will then update Category row in&amp;nbsp;the second repeating table with a sum of the amount - using this formula - sum(xdXDocument:get-DOM()/my:myFields/my:Expenses/my:ExpenseItems/my:ExpenseAmount[current()/@Category = ../my:ExpenseCategory])&lt;/p&gt;
&lt;p&gt;I have now been asked to configure another repeating table that doesn&amp;#39;t involve a drop down selection but is required to update one of the categories within the second repeating table but I am unable to workout how I can tell it what Category Row to update.&amp;nbsp; The new Repeating Table is for Mileage Expenses so anything entered into here needs to update the total of&amp;nbsp;Mileage Expenses row.&lt;/p&gt;
&lt;p&gt;I hope I have managed to explain this OK but can provide more information if required.&lt;/p&gt;</description></item></channel></rss>