<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Repeating Section Calculations based on other records</title><link>https://www.infopathdev.com:443/forums/thread/66465.aspx</link><pubDate>Wed, 11 May 2011 17:06:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66465</guid><dc:creator>Fdcctx</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=66465</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m creating a timesheet in which it will calculate certain guidelines we need to follow. What I need to do is to calculate breaks including overnight breaks. What I have set up, is a form that submits to an Access DB. So i have a repeating section (which represents each day). The part I&amp;#39;m having trouble with, is I need to calculate the break from the last &amp;quot;end time&amp;quot; to the next day&amp;#39;s (new record&amp;#39;s) start time. So two things need to happen. One is to find the last end time. I currently have 7 time slots (a potential for 7 shifts, but could&amp;nbsp;be as few as 1). I&amp;#39;m trying out the Max function, but for some reason I keep recieving an error. Then the most challenging I have is to calculate that last end time to the next records first start time (should alsways be start time 1). There are some other guidelines that I may have trouble doing, but&amp;nbsp;I think if i can find a way to calculate between records, I should be able to solve my other&amp;nbsp;challenges. Let me know if there is a way to do this. I deally, I would love to do this without code (as I am not the most proficient person at writting code), but if this needs to be done with code - i will need a &amp;quot;dummied up&amp;quot; how to. lol. I&amp;#39;m ok at manipulating code, but from scratch . . . that&amp;#39;s another story. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Frankie D.&lt;/p&gt;</description></item></channel></rss>