E
Ernst Guckel
Hey,
I have a payroll database in design. I have a few tables setup already
but am having a bit of trouble determining the design of the main 'Payroll'
table.
I have an employee table and a payroll table. The employee table contains
all employee data, IE: Payrate File# DOB , etc. The payroll table contains
each payroll run's data... IE: Payroll date, hours, etc. The delema is in
the payroll table. There are multiple pay types to be paid. Regular,
Overtime, Vacation, Sick, etc. There are two possibilities that I can come
up with.
1. Have the payroll table contain all of these fields in each record. But
each record will have empty data fields because each employee does not
recieve ALL pay typers each week...
2. To put a PayTypeID field and an Hours field that contains the associated
paytype in each record. More records but less empty fields... The downside
to this one is I'm not quite sure how to make data entry on forms seemless
with this approach.
eother way... I would prefer to setup the database correctly... Anyone have
advice on which way to go?
Ernst.
I have a payroll database in design. I have a few tables setup already
but am having a bit of trouble determining the design of the main 'Payroll'
table.
I have an employee table and a payroll table. The employee table contains
all employee data, IE: Payrate File# DOB , etc. The payroll table contains
each payroll run's data... IE: Payroll date, hours, etc. The delema is in
the payroll table. There are multiple pay types to be paid. Regular,
Overtime, Vacation, Sick, etc. There are two possibilities that I can come
up with.
1. Have the payroll table contain all of these fields in each record. But
each record will have empty data fields because each employee does not
recieve ALL pay typers each week...
2. To put a PayTypeID field and an Hours field that contains the associated
paytype in each record. More records but less empty fields... The downside
to this one is I'm not quite sure how to make data entry on forms seemless
with this approach.
eother way... I would prefer to setup the database correctly... Anyone have
advice on which way to go?
Ernst.