Now that I have that part working It's time to move on to the next issue.I run a report to show a range of calls from the WorkOrders table and any calls that have parts will be on the list. The problem is that if you use four parts on one call or ticket it repeats all of the data for that same call. Its hard to explain so I will show examples below of how it looks and how I would like it to look. I'm not sure if I could fix this in the query or the report itself. I also attached screen shots of the report and the query results.
This is how it looks now: For this example I will not include all fields , just enough to make my point. Notice the first three row's are the same call (WorkorderID), but it has several items used. The fourth record only has one item and the last line has zero parts used.
Machine Problem Solution WorkOrderID Item QTY
MX1234 No Power Replaced supply 2345 987654 2
MX1234 No Power Replaced supply 2345 567839 4
MX1234 No Power Replaced supply 2345 999912 1
MAX998 Broken Belt Replaced belt 9987 ABctre 1
MX0189 Overheating Removed cover 1111
This is the same data but how I need it to look, or something similar
Machine Problem Solution WorkOrderID Item QTY
MX1234 No Power Replaced supply 2345 987654 2
567839 4
999912 1
MAX998 Broken Belt Replaced belt 9987 ABctre 1
MX0189 Overheating Removed cover 1111
The only difference in the first three rows is the fields from the WorkorderParts table (Item, QTY) . Other than that its the same record.
Please see attached
Thanks
Rick
