OK, so I created a query with the code that you sent, and I am pretty sure that it is now pulling the time, and giving me the total hours worked.
Thank you for all of your help. I need to spend some time with this, and get my head around it.
Joy
I couldn't find the entry that I cut that from...but here is another example:
TimeIn = 3:14
TimOut = 3:14
Sum = 3.472E-05
but if I wait a little longer:
TimeIn = 3:16
TimOut = 3:18
Sum = .00125
Skip,
I'm still having some trouble with the "sum". So, let me explain how I have my data set-up, and how I am populating my form.
I have the following table: tblClockIn
PunchInID (auto number)
EmployeeID (Linked to a main employee info table)
TimeIn (formatted as General Date to show Date...
Again, sorry for being so new at this. I understand what the code is going to do as far as formatting, and the sum command etc. However, I'm still not sure where to put it. Would I place this code in a query, or in an after update event for the total hours field on my form...?
Joy
I am learning as I go, and I'm still trying to figure this part out... would you mind going into a little more detail on where I should use this information?
Thanks!
Joy
I am creating an hour tracking program for employees to "clock-in" and "clock-out". The forms and tables are complete, but I’m having trouble with the date/time data. On my clock-in/clock-out forms, users click a button, and a field is populated with the current date and time. I have formatted...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.