Craigc3814
Board Regular
- Joined
- Mar 7, 2016
- Messages
- 217
I have two table one is my project table and it contains all information regarding any projects that we have. I also have a Timesheet table that gives me all employees timesheet data.
Both tables contain 3 identical column Project Number, Project Task Number, Project Subtask number.
I want to look at the Budget Hours For each Project Number, Project Task Number, and Project SubTask number on the Project table and subtract the total of all hours charged to each one from the Timesheet table
Here is an example of how data would look on the Project Table
Project Number1 Project Task Project Sub Task Budget Hours
1111 1 1 10
1111 1 2 15
1111 2 1 30
1112 1 1 100
Here is how time is charged on the timesheet table
Employee Project Number Project Task Project Sub Task Hours Charged
1 1111 1 2 3
1 1111 1 2 1
2 1111 1 2 4
3 1111 1 1 1
3 1112 1 1 8
1 1112 1 1 8
Both tables contain 3 identical column Project Number, Project Task Number, Project Subtask number.
I want to look at the Budget Hours For each Project Number, Project Task Number, and Project SubTask number on the Project table and subtract the total of all hours charged to each one from the Timesheet table
Here is an example of how data would look on the Project Table
Project Number1 Project Task Project Sub Task Budget Hours
1111 1 1 10
1111 1 2 15
1111 2 1 30
1112 1 1 100
Here is how time is charged on the timesheet table
Employee Project Number Project Task Project Sub Task Hours Charged
1 1111 1 2 3
1 1111 1 2 1
2 1111 1 2 4
3 1111 1 1 1
3 1112 1 1 8
1 1112 1 1 8