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. 3 2268
On 11 Aug 2005 21:40:42 -0700, mi***@westnet.c om.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.
Steve Jorgensen wrote: On 11 Aug 2005 21:40:42 -0700, mi***@westnet.c om.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.
On 11 Aug 2005 22:34:00 -0700, mi***@westnet.c om.au wrote: Steve Jorgensen wrote: On 11 Aug 2005 21:40:42 -0700, mi***@westnet.c om.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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 this? thanks.
// figures hourly wages for employees
#include <iostream>
#include <conio.h>
using std::cout;
|
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,
==============================================================================
A1 |A2 A3 A4 A5 A6 A7 A8 |A9
A10 A11
| 01/02/04 |02/02/04
StaffName |Work Hr OT Hr Slot1...
|
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 the project. Each employee
will add an activity on a certain date. What I need to do is check the
date the activity was added and then check what the rate is that
employee was paid during that period.
|
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 intent to have is a form in which I will enter the customer
order no: and then in the subform choose the work done and then based on the
work input calculate the rates and have it billed to the customer. I have no
idea on how to have the rates...
|
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 this formula but it is probably way off trak , for it is giving me an error stating that it will match to many records. ANYONE PLEASE HELP.....
Total Time in Minutes: DateDiff("n",,)/60
--
Message posted via http://www.accessmonster.com
| |
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 works with overtime but has
the same feilds within the table. I want to be able to run a report that
combines the regular time and overtime for the warehouse and seperated by
each customer. I have tried join tables but I keep ending with, (if it...
|
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 do daily db2 check lists.
The following colums i need in the daily check lists
|
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 = Like "Saturday Rota" Or Like "Sat Rota" Or Like "Rota"
|
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 deadlines, and send
out email reminders.
I have setup all the logic that checks deadlines & sends the emails,
and that works great. However, automating it has been a problem.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |