James Bailey
Registered User.
- Local time
- Today, 14:39
- Joined
- Nov 19, 2007
- Messages
- 12
Hello all... Nice forum you have here.
I'm in the process of developing an Access 2003 Timesheet database. I'm basing it off of an excel spreadsheet the company already uses. This spreadsheet has the charge codes as columns, the date and hours worked as the rows.
I'm trying to work out the best way to design the timesheet details table. At first, I was going to have the following (condensed version, FK, PK left out):
Table: TimesheetDetails
Fields: Charge Code, Date, HoursWorked.
Hours Worked will be a number between 1 and 24.
The problem is that for each date the employees have at least two charge codes per day. I quickly realized that entering timesheet data would take too much time.
All that has led me to think about creating a new field for each day of the week called MonHours, TueHours, etc. Then I can setup an excel like form that has the days of the week as columns and the charge codes and hours worked as the rows. This way, they choose the charge code once and can enter hours under any day of the week for that code. Also, I can setup a combo box of pay periods and have the dates auto filled for them based on their selection.
I can't help thinking there is better way to design this. I've considered putting the charge codes across the top but then I run into the problem of horizontal growth if new charge codes are created. At this point I'm out of ideas so I thought I'd ask here.
Any and all opinions appreciated!
I'm in the process of developing an Access 2003 Timesheet database. I'm basing it off of an excel spreadsheet the company already uses. This spreadsheet has the charge codes as columns, the date and hours worked as the rows.
I'm trying to work out the best way to design the timesheet details table. At first, I was going to have the following (condensed version, FK, PK left out):
Table: TimesheetDetails
Fields: Charge Code, Date, HoursWorked.
Hours Worked will be a number between 1 and 24.
The problem is that for each date the employees have at least two charge codes per day. I quickly realized that entering timesheet data would take too much time.
All that has led me to think about creating a new field for each day of the week called MonHours, TueHours, etc. Then I can setup an excel like form that has the days of the week as columns and the charge codes and hours worked as the rows. This way, they choose the charge code once and can enter hours under any day of the week for that code. Also, I can setup a combo box of pay periods and have the dates auto filled for them based on their selection.
I can't help thinking there is better way to design this. I've considered putting the charge codes across the top but then I run into the problem of horizontal growth if new charge codes are created. At this point I'm out of ideas so I thought I'd ask here.
Any and all opinions appreciated!
Last edited: