Hello All. I’m revisiting a post I placed about a year ago about how to layout records in a certain way.
What I am trying to do is create a form or report that summarizes all of my employees daily hours and tasks for each week. The actual layout is what I am having trouble with here. The end "visual"/printed result I need it to be is explained as follows:
Picture a spreadsheet... Row 1 columns A through whatever are employee names...
Row 2 states all the work completed and hours for Monday for the employee in that column.
Row 3 states all work for Tuesday
Row 4 for Wed. and so on until Friday.
Then once a week I print a copy of everything from Mon to Fri and it would display all work/hours from all employees in a chart/calendar, or whatever name you would use to describe this type of layout.
Each cell (A2, B3, etc.) would be a separate RECORD from my employee Log table.
What I do have already is a normalized database with an employee table, an employee log table (and others that don’t relate to this post), along with an employee form with Log subform for entering daily tasks and hours for each employee. The problem with this though is the way it is set up, I can only enter or view one employee at a time. I have a combo box in the header that I use to switch between employees and enter their info. What I have now is great for entering data each day, but I need that "spreadsheet" weekly summary of all employees to print once a week.
I have attached my DB here. The form "Employees" is where I enter daily data/hours. The form "Employee Worksheet" (along with report "Print Employee Worksheet") is the way I would like the data displayed. But the way I have it there is un-normalized and such a hassle to change if I add, remove, or change an employee. I would like to use that layout, but somehow have a combo box displaying the employee name and if that value is changed, that column of data is changed to reflect the new value.
Any suggestions?
What I am trying to do is create a form or report that summarizes all of my employees daily hours and tasks for each week. The actual layout is what I am having trouble with here. The end "visual"/printed result I need it to be is explained as follows:
Picture a spreadsheet... Row 1 columns A through whatever are employee names...
Row 2 states all the work completed and hours for Monday for the employee in that column.
Row 3 states all work for Tuesday
Row 4 for Wed. and so on until Friday.
Then once a week I print a copy of everything from Mon to Fri and it would display all work/hours from all employees in a chart/calendar, or whatever name you would use to describe this type of layout.
Each cell (A2, B3, etc.) would be a separate RECORD from my employee Log table.
What I do have already is a normalized database with an employee table, an employee log table (and others that don’t relate to this post), along with an employee form with Log subform for entering daily tasks and hours for each employee. The problem with this though is the way it is set up, I can only enter or view one employee at a time. I have a combo box in the header that I use to switch between employees and enter their info. What I have now is great for entering data each day, but I need that "spreadsheet" weekly summary of all employees to print once a week.
I have attached my DB here. The form "Employees" is where I enter daily data/hours. The form "Employee Worksheet" (along with report "Print Employee Worksheet") is the way I would like the data displayed. But the way I have it there is un-normalized and such a hassle to change if I add, remove, or change an employee. I would like to use that layout, but somehow have a combo box displaying the employee name and if that value is changed, that column of data is changed to reflect the new value.
Any suggestions?