<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating calculations</title><link>https://www.infopathdev.com:443/forums/thread/13154.aspx</link><pubDate>Thu, 17 Feb 2005 14:30:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13154</guid><dc:creator>GaryR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13154</wfw:commentRss><description>Many thanks for the suggestions. I was using absolute references. Will let you know how it goes.&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;&lt;br /&gt;Gary Roberts</description></item><item><title>Re: Repeating calculations</title><link>https://www.infopathdev.com:443/forums/thread/13153.aspx</link><pubDate>Tue, 15 Feb 2005 15:40:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13153</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13153</wfw:commentRss><description>First, you'll probably want to add an OnAfterChange event handler to the StartTime as well. Why? Well what happens if someone enters a start time, and then an end time, and then later changes the start time? You calculation will not be updated.&lt;br /&gt;&lt;br /&gt;Okay... the one question I have for you is whether you are using relative paths in your calculation (i.e. "../StartTime") or absolute paths (i.e. "/my:myFields/my:Table/my:Row/my:StartTime").&lt;br /&gt;&lt;br /&gt;The former should work for each row, the latter should only ever get the first row.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Repeating calculations</title><link>https://www.infopathdev.com:443/forums/thread/12424.aspx</link><pubDate>Mon, 14 Feb 2005 08:05:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12424</guid><dc:creator>GaryR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12424.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12424</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;I have a repeating table - StartTime, EndTime, Hours.&lt;br /&gt;The EndTime has OnAfterChange with VB.Net code to calculate the time. Being new to .Net I was most happy to get this working eventually.&lt;br /&gt;&lt;br /&gt;However - when adding a new row in the repeating table the calculation doesn't occur. Something to do with not being the first element I presume. &lt;br /&gt;&lt;br /&gt;Any ideas how I can get this to work.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Gary Roberts</description></item></channel></rss>