472,364 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Carrying payroll data into new records

Hello,

I am using Access 2002 to track payroll. I am trying to carry a
person's Sick time accrued into the next record for an individual. I
am a beginner with access.

I am using the following terms:

SickUsed: Sick time used in a given pay period. (Cannot exceed
SickAccumulated)

SickAccumulated: SickAccumulated through previous month minus SickUsed
(A person can only use sick time accumulated through previous
payperiod)

SickEarned: TotalHours Divided by 79.9 or if TotalHours is greater
than or equal to 80, then SickEarned is 4

SickBalance: SickAccumulated Plus SickEarned minus SickUsed (Current
Month)

Here is my main question: I want the SickBalance from the current
record to become SickAccumulated when a new payroll record is entered
for a person. Is there a way to make Access do this?

Thank you,

Kgatchell2001
Nov 12 '05 #1
1 1825
This is possible but not for the light heated. To do this, you need to
setup a field that is a counter, but the counter cannot miss any. To
complex things further, you will need have the counter reset for each
employe. For example:
Employee 1 Rec 1
Employee 1 Rec 2
Employee 1 Rec 3
Employee 1 Rec 4

Employee 2 Rec 1
Employee 2 Rec 2
Employee 2 Rec 3
Employee 2 Rec 4

There is no built-in function to do this. This can be accomplished via
VBA. Since you are wanting to store the results, your balance forward
calculation all use domain aggregate functions. Would not take me long to
do though.

You might look at doing this on a query. Group on employee, sum the
accrued column, sum the usage column, Accrued - Used, and so on.

--
Dean Covey
www.coveyaccounting.com

"kgatchell2001" <kg***********@yahoo.com> wrote in message
news:b2**************************@posting.google.c om...
Hello,

I am using Access 2002 to track payroll. I am trying to carry a
person's Sick time accrued into the next record for an individual. I
am a beginner with access.

I am using the following terms:

SickUsed: Sick time used in a given pay period. (Cannot exceed
SickAccumulated)

SickAccumulated: SickAccumulated through previous month minus SickUsed
(A person can only use sick time accumulated through previous
payperiod)

SickEarned: TotalHours Divided by 79.9 or if TotalHours is greater
than or equal to 80, then SickEarned is 4

SickBalance: SickAccumulated Plus SickEarned minus SickUsed (Current
Month)

Here is my main question: I want the SickBalance from the current
record to become SickAccumulated when a new payroll record is entered
for a person. Is there a way to make Access do this?

Thank you,

Kgatchell2001

Nov 12 '05 #2

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

Similar topics

0
by: zexx | last post by:
Need some advise.... Payroll program Access97. Payroll is printed then posted to a hx table thro' a query with the payroll calculations that freeze that payroll's numbers for that period. The...
1
by: kgatchell2001 | last post by:
Hello, I am using Access 2002 to track payroll. I am trying to carry a person's Sick time accrued into the next record for an individual. I am a beginner with access. I am using the following...
0
by: kgatchell2001 | last post by:
Hi, I am a beginner working on a database to manage clients, payroll, station assignments, etc. I am having difficulty with sick pay variables. I use the following variables; SickUsed: Sick...
1
by: cheungs7 | last post by:
Hi all, Wondering whether you can anyone help me. We have Sage Payroll (and accounting/payroll software), which has a MS Access database where the data is stored. Now I want to access the...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
1
by: Akinyemi | last post by:
I am developing a payroll program.. The data generated will be saved in an Access Database. I want a situation whereby when an employee leaves the organization or retires, instead of deleting his...
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
11
by: elaina | last post by:
Hello again. I have setup a master form linked to a subform (actually nested subforms, but the top level subform is the one giving me trouble.) When entering data, the forms all appear to work...
2
by: isoquin | last post by:
I have frmMain that takes in data about a particular event. Payroll information needs to be automatically calculated from this, but is stored in a different table. So, I included a subform frmPay,...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

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.