473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Calculating Times for Payroll over 99 Hours

Hi to all,

Please bear with me as I am newly experienced in basic Access 2003 only. I don't know Visual Basic or macros at all but am attempting to learn on my own.

Explanation:

Our fleet of trucks have been installed with a GPS tracking system that downloads into csv files all detailed information. The drivers also swipe a card for when they start their shift and when they end their shift. I then downloaded this information into Access.

We have grave, day, swing and night shifts. The drivers are paid every 2 weeks which comes out well over 100 hours per pay period. The total shift time downloads as seconds along with start date and time and end date and time. I need a total hours worked to give to payroll.

In a query I divide the seconds by 86400 (total seconds in a day) to get the hours and minutes in short time format ... (ex: 11:58 for one shift).

Is it possible in a report to sum-up all of the hours, which is normally over 100, in a 2-week period and if so, How?

Right now I'm downloading the Access data to Excel where I am able to get total hours over 99 to turn into Payroll.

Please forgive me if I have not sent this to you correctly or have not worded it correcly. I've never done this before and feel well out of my league.

With appreciation,

Joan Bosrock
Mar 23 '07 #1
3 1835
nico5038
3,080 Expert 2GB
For some background on time calculations you can check:
http://www.mvps.org/access/datetime/index.html

Main "problem" for >24 hours will be the fact that Access will convert them into days. Only when you use an integer (or double) numeric value to store the hours per shift (use e.g. the subtraction you see in the above link), you can add them up to values above 24.

Nic;o)
Mar 24 '07 #2
Hi Nic,

Thank you for the response and the link. Even though I'm a true newbie when it comes to this I'll play around with it this week and see if I can make some sense out of it.

Again, thanks for the help!

Joan :-}
Mar 26 '07 #3
nico5038
3,080 Expert 2GB
Keep me posted :-)

Nic;o)
Mar 27 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Phil Sandler | last post by:
All, I have a table with start and end dates/times in it, and would like to be able to calculate the number of hours represented, accounting for overlapping records. Note that I am looking...
1
by: Randi | last post by:
Hi, Looking for some help with this payrool project I have for class. This is what the instructor asks for so far. I have it working without errors but am getting some funky numbers. I am not...
4
by: Mark T. | last post by:
Hi all, New to Access...... Trying to create a payroll database for employees who are paid on the 1st and the 15th of the month. This is quite different than every 2 week pay periods. ...
10
by: ycg0771 | last post by:
I'm trying to modify the following program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the...
8
by: John Sitka | last post by:
Hi, There are four pay types standard shiftpremium doubletime doubletimepremium each hour a person books can be one of these types
5
by: jbailey006 | last post by:
I am trying to add the following information to a payroll program I am working on for assignment. Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the...
1
by: ask84 | last post by:
PLzzz guyz help me wid this payroll, there's some place where I'm making a mistake and unable to compile this program: WHYYYYY!! I'm so frustrated It's from Intro to Programming C++ using Dev-C++...
8
by: hmmtn | last post by:
I would appreciate any help on this one. Assignment is as follows: Develop a program that will determine the gross pay for each of several employees. The company pays "straight time" for the first...
6
by: aureao4 | last post by:
I'm new to Java and programming. I'm trying to code a payroll program and continue getting errors. The program worked last week, this week I have to add set, get and a class. I've written the class...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.