<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculate costs in a Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/98728.aspx</link><pubDate>Mon, 18 Aug 2014 18:17:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98728</guid><dc:creator>shanemeisner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=98728</wfw:commentRss><description>&lt;p&gt;After thinking about this over the weekend I realized where my mistake was.. &lt;/p&gt;&lt;p&gt;I had the calculation fields&amp;nbsp;outside of the repeating table.&amp;nbsp;Once I added those fields( CostRam, CostDisk, etc) to the repeating table everything worked as it should. :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;Shane Meisner&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Calculate costs in a Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/98714.aspx</link><pubDate>Mon, 18 Aug 2014 07:25:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98714</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=98714</wfw:commentRss><description>&lt;p&gt;Hi Shane,&lt;br /&gt;&lt;br /&gt;Under normal conditions, the &lt;b&gt;Linecost&lt;/b&gt; field should not be retaining the value of the previous row. May I know if this Linecost field is located outside of the repeating table? If so then I suggest having this field placed inside the repeating table along with the CostRAM, CostDisk, CostCPU, and CostOS. This way, the Linecost field will be able to identify which specific row it is calculating. If not, kindly attach a sample of your form so I may have a clearer idea of how your form is set up.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>Re: Calculate costs in a Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/98662.aspx</link><pubDate>Wed, 13 Aug 2014 13:10:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98662</guid><dc:creator>shanemeisner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98662.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=98662</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve attached a Word document in a zip file that will hopefully explain further the situation I am running into.&lt;/p&gt;&lt;p&gt;Thanks again,&lt;/p&gt;&lt;p&gt;Shane&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Calculate costs in a Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/98659.aspx</link><pubDate>Wed, 13 Aug 2014 05:02:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98659</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=98659</wfw:commentRss><description>&lt;p&gt;Hi Shane,&lt;br /&gt;&lt;br /&gt;If you are attempting to get the values of the last row of your table, then what you would need to use is the last() function. &lt;a href="http://www.infopathdev.com/forums/p/19728/82485.aspx"&gt;Here&lt;/a&gt; is a thread which discusses issues you may encounter if you are working with web browser forms. Otherwise, I suggest using rules on the repeating fields to calculate the value onto a Total field instead of using a calculated field. Hope this helps.&lt;/p&gt;</description></item><item><title>Calculate costs in a Repeating table</title><link>https://www.infopathdev.com:443/forums/thread/98650.aspx</link><pubDate>Mon, 11 Aug 2014 19:20:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98650</guid><dc:creator>shanemeisner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=98650</wfw:commentRss><description>&lt;p&gt;After searching for a few days and not finding a solution I figured I&amp;#39;d try you all for some greatly appreciated help..&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;We have a Server Request InfoPath form that has a repeating table. When users request a new server we ask them to enter the amount of Ram, Disk Space, CPU&amp;#39;s and the OS they need. &lt;/p&gt;&lt;p&gt;When they enter their values into each field we calculate the cost amount for each item( Ram, disk, cpu and OS) through data connections to the price per item stored elsewhere.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So as an example: when the user enters the amount of Ram to the &amp;quot;RAM&amp;quot; field, we have this Rule running in the Ram field field to set the &amp;quot;CostRam&amp;quot; field:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;. * Cost[Title = &amp;quot;RAM&amp;quot; and Category = ResourceType]&amp;nbsp;&amp;nbsp; this same formula is used for CPU, Disk, and OS&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Right now we have a Total field, with the formula&amp;nbsp; CostRAM + CostDisk + CostCPU + CostOS for the default value and it works fine .. until we try to add a row to the repeating table. Adding a 2nd row carries over the previous value for the total column and changes to any item ( Ram, Disk, OS, CPU) on the 2nd row changes the Total column for both rows.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to figure out a way to keep the first row cost total displayed and stored and then when the next row is entered, reset the Cost fields back to zero to recalculate the next added resource so that when they fill in all rows, the total cost field int he footer of the repeating table displays the overall cost for all resources requested. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your help,&lt;/p&gt;&lt;p&gt;Shane &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>