<?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: Xpath / formula to sum column values in a repeating table which are formatted as time (09:00)</title><link>https://www.infopathdev.com:443/forums/thread/81131.aspx</link><pubDate>Mon, 30 Jul 2012 18:35:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81131</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81131</wfw:commentRss><description>&lt;p&gt;InfoPath can only perform mathematical functions/calculations to fields of number type, e.g. integer or decimal. In your case, the Time field should be of decimal type. I&amp;#39;m thinking you will have to do some kind of conversion, for example, 00:30 should be 0.50, 01:00 should be 1.00, 01:30 should be 1.50, and so on... So that dropdown, change it so that &lt;strong&gt;values&lt;/strong&gt; are the decimal conversions, and &lt;strong&gt;display&lt;/strong&gt; are the time formats.&lt;/p&gt;</description></item><item><title>Xpath / formula to sum column values in a repeating table which are formatted as time (09:00)</title><link>https://www.infopathdev.com:443/forums/thread/80776.aspx</link><pubDate>Thu, 19 Jul 2012 14:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80776</guid><dc:creator>sammyg83</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80776</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve designed a time recording form on a web-browser template for InfoPath 2010.&lt;/p&gt;
&lt;p&gt;I have a repeating table with a column named time, in time format and a drop down list of length of time at half hourly increments (i.e. 00:30, 01:00, 01:30, etc)&lt;/p&gt;
&lt;p&gt;I would like to SUM these times up in a text box at the bottom of the form, however using the following formula &amp;#39;NaN&amp;#39; is returned. I have tried changing the text box&amp;#39;s formula to double decimal, time, number and text with no success.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SUM(Time)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;[Time&amp;nbsp;is the field in my repeating table]&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any direction you could offer would be really helpful.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;Sammy.&lt;/p&gt;</description></item></channel></rss>