473,383 Members | 1,716 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,383 software developers and data experts.

Daily normal and overtime rates

I need to be able to calculate on a daily basis, both normal and
overtime hours for both payroll and job costing.
I also then need to calculate the above on a weekly basis, in order to
complete the payroll.

I have employee normal, time/half and double time rates in $value in
one table, then in another I have log in and out times; then another
job start and stop time.

I realize the code is probably logical-but I am not brilliant with
access and have trouble with the nitty gritty!!

Any help greatly appreciated.

Thanks in advance for the help.

Nov 13 '05 #1
3 2250
On 11 Aug 2005 21:40:42 -0700, mi***@westnet.com.au wrote:
I need to be able to calculate on a daily basis, both normal and
overtime hours for both payroll and job costing.
I also then need to calculate the above on a weekly basis, in order to
complete the payroll.

I have employee normal, time/half and double time rates in $value in
one table, then in another I have log in and out times; then another
job start and stop time.

I realize the code is probably logical-but I am not brilliant with
access and have trouble with the nitty gritty!!

Any help greatly appreciated.

Thanks in advance for the help.


The thing to realize is that databases are not really good at these kinds of
calculations, so what you usually want to do is write code that reads the data
from the tables, computes the overtime, and writes it out to another table.
Nov 13 '05 #2
Steve Jorgensen wrote:
On 11 Aug 2005 21:40:42 -0700, mi***@westnet.com.au wrote:
I need to be able to calculate on a daily basis, both normal and
overtime hours for both payroll and job costing.
I also then need to calculate the above on a weekly basis, in order to
complete the payroll.

I have employee normal, time/half and double time rates in $value in
one table, then in another I have log in and out times; then another
job start and stop time.

I realize the code is probably logical-but I am not brilliant with
access and have trouble with the nitty gritty!!

Any help greatly appreciated.

Thanks in advance for the help.


The thing to realize is that databases are not really good at these kinds of
calculations, so what you usually want to do is write code that reads the data
from the tables, computes the overtime, and writes it out to another table.


that is great if you understand and know the code required to enable
you to do this.

Nov 13 '05 #3
On 11 Aug 2005 22:34:00 -0700, mi***@westnet.com.au wrote:
Steve Jorgensen wrote:
On 11 Aug 2005 21:40:42 -0700, mi***@westnet.com.au wrote:
>I need to be able to calculate on a daily basis, both normal and
>overtime hours for both payroll and job costing.
>I also then need to calculate the above on a weekly basis, in order to
>complete the payroll.
>
>I have employee normal, time/half and double time rates in $value in
>one table, then in another I have log in and out times; then another
>job start and stop time.
>
>I realize the code is probably logical-but I am not brilliant with
>access and have trouble with the nitty gritty!!
>
>Any help greatly appreciated.
>
>Thanks in advance for the help.


The thing to realize is that databases are not really good at these kinds of
calculations, so what you usually want to do is write code that reads the data
from the tables, computes the overtime, and writes it out to another table.


that is great if you understand and know the code required to enable
you to do this.


Before worrying about how to code it, figure out what it is you're supposed to
do. "Compute overtime" is no where near a complete enough spec. to start
writing.

First, there are the simple algorithminc requirements. How is overtime
computed? How is this affected by holidays, vacation, and sick days? What
about part-time employees?

Next, what is the work flow that the user expects? When are hours entered,
and when are they reported? What happens if an adjustment must be made after
payroll is generated, etc.?

If your employer or client can't give you a complete spec, then ask to walk
through the process with him or her, so you can see first-hand what workflow
steps are involved.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eric Whittaker | last post by:
here's my dilemma, on the program below, i am trying to calculate overtime pay at time and a half, but instead of only counting the hours after 40, it counts all hrs at that rate, how can i avoid...
1
by: poohnie08 | last post by:
i have a excel spreadsheet showing staff name, date,work hour, ot hour, slot1, slot2, slot3, slot4 and others). The "()" will keep repeating from day 1 until end of month. eg in excel spreadsheet,...
3
by: Eddie | last post by:
Hi to all I am building a database to track project expenses information. My database has 4 main tables, Employees, Activity, project info and rates. We add a project and track activities on...
1
by: Zurghew | last post by:
Hello all, I have just created a database (partially) which will bill customers for work done. However I am stuck when it is comes to different rates for different works. REQUIRED: What I...
3
by: Jamie Pittman via AccessMonster.com | last post by:
I am currently working on a project to take an employees time for a day and and if over 8 hours it would move those extra hours to overtime row amd not caculate into regular time. I started to use...
5
by: Jamie Pittman via AccessMonster.com | last post by:
I have two tables with 5000 entries on them. One is based for regular time with several variables example (employee name, date,time in and out, code, customer, building) I have another table that...
2
by: V_S_H_Satish | last post by:
Dear Friends I am working as oracle and ms sql dba from last 4 years. My company recently migrated to DB2 databases. So i am very much new to db2 database Can any one pls provide script to...
3
by: foxykitty | last post by:
Hi, How can I group in my qryMonthlyHours in SQL view by , and then sum done in that month? I have another query - qrySaturdayRota ,,,,, ALL THIS IS GROUPED EXCEPT FOR has a criteria...
6
by: bmjnine | last post by:
Hi all, I am trying to setup a daily task in my .NET (1.1) application. The application is a project management tool, and the daily task I am trying to set up will check for overdue project...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.