I am using Access 2007. I am working with a database I DID NOT design and realize that it is designed poorly. However, I am not able to recreate it at this time.
Here is my dilemma.
The Workflow table has records of work done on workorders. One workorder can have multiple repairs. There are three RepairItem fields for each workorder record in the Workflow table. The Work form is linked to the Workflow table. There are three combo boxes on the Work form that has values from the Repair table. When a value is selected from the drop down, it updates the corresponding fiels in the Workflow table. This is working well. However, I need to be able to group and total the values in the workflow table on my report.
Here is an example.
WorkOrderNo, EquipmentType, RepairItem1, RepairItem2, RepairItem3
155, Laptop, Screen, Keyboard, Screen
156, Desktop, Motherboard, Screen, Keyboard
157, Laptop, Screen, Motherboard, Keyboard
On the report, I'm grouping by Equipment type. I want to have something like this:
Laptop Screen 3 Keyboard 2 Motherboard 1
Desktop Screen 1 Keyboard 1 Motherboard 1
I know it's convoluted. I'm open to any suggestions. I've considered using DSum to update a query and add a field in the Workflow table for countScreenSoFar, CountKeyboardSoFar, CountMotherboardSoFar, but not sure how to do this or if it is the best solution. Any assistance would be greatly appreciated.
Thanks!
Here is my dilemma.
The Workflow table has records of work done on workorders. One workorder can have multiple repairs. There are three RepairItem fields for each workorder record in the Workflow table. The Work form is linked to the Workflow table. There are three combo boxes on the Work form that has values from the Repair table. When a value is selected from the drop down, it updates the corresponding fiels in the Workflow table. This is working well. However, I need to be able to group and total the values in the workflow table on my report.
Here is an example.
WorkOrderNo, EquipmentType, RepairItem1, RepairItem2, RepairItem3
155, Laptop, Screen, Keyboard, Screen
156, Desktop, Motherboard, Screen, Keyboard
157, Laptop, Screen, Motherboard, Keyboard
On the report, I'm grouping by Equipment type. I want to have something like this:
Laptop Screen 3 Keyboard 2 Motherboard 1
Desktop Screen 1 Keyboard 1 Motherboard 1
I know it's convoluted. I'm open to any suggestions. I've considered using DSum to update a query and add a field in the Workflow table for countScreenSoFar, CountKeyboardSoFar, CountMotherboardSoFar, but not sure how to do this or if it is the best solution. Any assistance would be greatly appreciated.
Thanks!