473,503 Members | 1,701 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 1914
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
1460
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
5297
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
2756
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
1573
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
2904
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
1310
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
7074
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
7273
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,...
1
6982
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...
0
7451
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
5572
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,...
1
5000
isladogs
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...
0
4667
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...
1
731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
374
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.