HI, I am trying to make a timesheet interface online. I dont exactly know how to store the data in the database.
The interface looks like this :
EMP. ID: [ ]
NAME: [ ]
PAYPERIOD: [ ]
DEPARTMENT: [ ]
HOURS WORKED:
M | T | W | TH | F | SAT | SUN
JOBCODE: [ ] | | | | | |
JOBCODE: [ ] | | | | | |
JOBCODE: [ ] | | | | | |
The database I created to store these has the follwoing fields:
EMPID | PAYPERIOD | DEPARTMENT | JOBCODE | M | T | W | TH | F | SAT | SUN
Can someone please tell me the best way to store the information in the database ? The thing that confuses me is that Each employee could have different job codes .. so monday it could be jobcode A, the tuesday jobcode B which would be on another row. but the emp id is only in 1 row. Im just kinda lost. Any help on how to do this project will be deeply appreciated.
thank you
The interface looks like this :
EMP. ID: [ ]
NAME: [ ]
PAYPERIOD: [ ]
DEPARTMENT: [ ]
HOURS WORKED:
M | T | W | TH | F | SAT | SUN
JOBCODE: [ ] | | | | | |
JOBCODE: [ ] | | | | | |
JOBCODE: [ ] | | | | | |
The database I created to store these has the follwoing fields:
EMPID | PAYPERIOD | DEPARTMENT | JOBCODE | M | T | W | TH | F | SAT | SUN
Can someone please tell me the best way to store the information in the database ? The thing that confuses me is that Each employee could have different job codes .. so monday it could be jobcode A, the tuesday jobcode B which would be on another row. but the emp id is only in 1 row. Im just kinda lost. Any help on how to do this project will be deeply appreciated.
thank you