473,498 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1910
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
1458
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
352
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
1072
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
5295
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
2753
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
1572
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
2902
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
8101
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
1308
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,...
0
7004
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...
0
7167
Oralloy
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,...
0
7208
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5464
agi2029
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,...
0
3095
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...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
292
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.