<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Timesheet &amp;amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/19411.aspx</link><pubDate>Sun, 29 Apr 2007 17:48:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19411</guid><dc:creator>Grazzers</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19411.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19411</wfw:commentRss><description>&lt;p&gt;Thanks for the advice.&amp;nbsp; As you say it seems that I need to create a box for hours and a box for minutes.&amp;nbsp; Not the most ideal but I don&amp;#39;t see any alternative.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks again&lt;/p&gt;</description></item><item><title>Re: Timesheet &amp;amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/19262.aspx</link><pubDate>Fri, 20 Apr 2007 14:41:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19262</guid><dc:creator>ahardin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19262</wfw:commentRss><description>&lt;p&gt;OK&lt;/p&gt;&lt;p&gt;as per my previous post restrict it to just minutes OR separate out the hours and minutes into two separate fields and format the sum on the minutes column to be dvided by 60 on a rule and then add each whole number as an hour into the hour box.&amp;nbsp; Quite complicated&lt;/p&gt;</description></item><item><title>Re: Timesheet &amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/19261.aspx</link><pubDate>Fri, 20 Apr 2007 14:37:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19261</guid><dc:creator>ahardin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19261</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;First off you need two tables in Access, one for name, staff id, week and total, and the other activity, time and staff IDs&lt;/p&gt;&lt;p&gt;&amp;nbsp;Set up a relationship in Access and Infopath where for each 1 staff id there can be many staff IDs, ie a one-to-many relationship.&amp;nbsp; Then,&lt;/p&gt;&lt;p&gt;1) there is no need to have this data in&amp;nbsp;a repeating section you can just have it on the form once.&amp;nbsp; In answer to your question the one-to-many relationship you setup will ensure that the data is input correctly into the database.&lt;/p&gt;&lt;p&gt;2) To keep it simple make them only enter the time in minutes, then right-click the repeating table and then &amp;#39;Display&amp;#39; and tick &amp;#39;footer&amp;#39;.&amp;nbsp; Add the field &amp;quot;total&amp;quot; in the footer.&amp;nbsp; Go into the &amp;quot;total&amp;quot; field and click the fx button.&amp;nbsp; Click &amp;#39;Insert Button&amp;#39; and select &amp;quot;Sum&amp;quot; click OK.&amp;nbsp; double click the &amp;#39;double click to insert field&amp;#39; and select the &amp;quot;time&amp;quot; field.&lt;/p&gt;&lt;p&gt;Job done, i hope.&lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>Re: Timesheet &amp;amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/19234.aspx</link><pubDate>Fri, 20 Apr 2007 07:56:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19234</guid><dc:creator>Grazzers</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19234</wfw:commentRss><description>&lt;p&gt;Thanks for the reply.&amp;nbsp; Users will input the time spent on an activity on a daily basis e.g. Mon - 1 hr 40 minutes, and I have formatted the Text Box as a Date/Time (not showing date but showing time as 1:40).&amp;nbsp; If, after two days of inputting 1:40, how do I show the total as 3:20?&amp;nbsp; One way round this would be to ask users to input the time in minutes however I don&amp;#39;t want to ask them to do this&amp;nbsp;as working out 6 hrs 42 minutes can get a little tricky. I also don&amp;#39;t want users to input 1.4 as adding this together&amp;nbsp;gives 2.8 and I want it to say 3.2&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope his makes sense. Thanks in anticipation&lt;/p&gt;</description></item><item><title>Re: Timesheet &amp;amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/4418.aspx</link><pubDate>Sat, 14 Apr 2007 20:48:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4418</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4418.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4418</wfw:commentRss><description>Hi Grazzers, and welcome to the InfoPath Dev forums!&lt;br /&gt;&lt;br /&gt;For #2 have you looked at the functions available in InfoPath?  Unless I am not understanding what you want to do, you have a repeating field that tracks the amount of time spent on an activity.  You can use the xpath sum function to total the time in that field.  You don't need any code to do this, it can be done all within the functions available in InfoPath</description></item><item><title>Re: Timesheet &amp;amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/4417.aspx</link><pubDate>Fri, 13 Apr 2007 15:09:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4417</guid><dc:creator>schung</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4417.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4417</wfw:commentRss><description>For your item #1:  You should create a field in each repeated section. (a nique identifier like SSN) Then make the field filled in automatically &amp; hide the field. (SSN_1, SSN_2 = which has same value as SSN)  When you import the data into MS Access, create a relationship using the unique identifier.  Then write your report or query.&lt;br /&gt;&lt;br /&gt;For your itme #2:  Are you trying to add it for each day or by pay period based on certain activity (i.e., activity costing?)&lt;br /&gt;</description></item><item><title>Timesheet &amp; submitting to Access DB</title><link>https://www.infopathdev.com:443/forums/thread/1965.aspx</link><pubDate>Thu, 12 Apr 2007 09:23:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1965</guid><dc:creator>Grazzers</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1965.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1965</wfw:commentRss><description>Hi.&lt;br /&gt;&lt;br /&gt;I'm a new user to Infopath (2003) and currently use an excel sheet to gather and consolidate timesheet information from around 150 users - extremely time consuming! What I would like is to have users complete a timesheet in Infopath and have them submit the data straight to Access (something I'm sure Infopath could do with its eyes shut)! .  My problems are two fold:-&lt;br /&gt;1) I want users to input their name, staff id and week just once at the beginning of the form and their activites for the week underneath.  I have created a repeated section for name/staff id and a repeating table for activities.  However when I click on Submit all the activities feed Access but the name/staff id only appears against the first activity.  How can I get the name/staff id to be added to all activities within Access?&lt;br /&gt;2) Users input the actual time they spent on an activity (10 mins, 1hr etc) rather than show From and To.  I can get round this by formatting to "Time" and "No date" but is there a way of adding these together on the form to show the total time spent?  Unfortunately I have no knowledge of code and I'm guessing this may be the only way to do it...&lt;br /&gt;&lt;br /&gt;Any help would be most appreciated</description></item></channel></rss>