I'm trying to make a small task database that will record the staff members payroll. I have three tables which are :
Staff
Department
Staff Payroll
The reason why i have a seperate table for payroll because i want access to work out each staff members wages. Each department has a different pay rate and the staff table just shows the staff details.
I am having trouble with the relationship and also the layout of the tables. My problem lies here:
Many staff members can work in one department, and one department has many payrolls
Staff -< Department->Payroll
But i cant work out payroll unless i have staff details on the payroll table. But if i link staff and payroll together it has TO MAKE a one-to-one relationship. I cannot get this working, its too difficult and MS access wont allow me to make it.
Is there anyway i can change my style around so i can show working out staff Payroll with having 3 seperate tables?
2007-02-25
03:37:31
·
4 answers
·
asked by
Gurpz
2
in
Computers & Internet
➔ Programming & Design
I cant use SQL!!!
Its for my ICT coursework and my syllabus doesnt cover SQL. Only Basic Access!
2007-02-25
03:45:12 ·
update #1
One main problem with the one-to-many relationship is that it doesnt make sense in my database when it is with Payroll and Staff.
One staff member cannot have many payrolls!
Im doing this on a monthly bases, not yearly.
2007-02-25
04:59:39 ·
update #2
Wait a minute..........
Monthly bases????
I could have, one to many if i say that the staff members get paid weekly and show it on a monthly bases....
you just might be on to something!!!!!!!
@_@
2007-02-25
05:00:54 ·
update #3