<?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: Fuel Log Sheet Calculation</title><link>https://www.infopathdev.com:443/forums/thread/96862.aspx</link><pubDate>Thu, 03 Apr 2014 18:26:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96862</guid><dc:creator>exemplaris</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96862</wfw:commentRss><description>There might be an easier way but you could add column to your repeating table with a text box in it. Put your formula in the &amp;quot;value&amp;quot;. That way each time you add a row you&amp;#39;ll have a new calculation showing the mileage.</description></item><item><title>Fuel Log Sheet Calculation</title><link>https://www.infopathdev.com:443/forums/thread/96543.aspx</link><pubDate>Thu, 20 Mar 2014 14:21:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96543</guid><dc:creator>ashleyfoozi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96543</wfw:commentRss><description>Hi.

I have a monthly form for our service guys to enter their fuel purchases and mileage in a repeating table.


The problem is the mileage.In theory to calculate mileage you subtract the last entry&amp;#39;s mileage from the previous months closing mileage (the current month&amp;#39;s opening mileage).

I have a text box outside the repeating table for the opening mileage. How do I subtract the last entry in the repeating table from the opening mileage?</description></item></channel></rss>