C
Chip
I have got a db that tracks our inventory quantities lot
#s and locations. I need a query that groups my data
first by the product # then by location so that the output
groups the products then combines all the 'same' materials
from different lots in the same location together. Se
example below:
Part# Lot# Location quantity
part1 lot1 stor1 25
part1 lot2 stor1 30
part1 lot1 stor2 10
part1 lot1 stor3 15
To get this output:
Part# Location quantity
part1 stor1 55
part1 stor2 10
part1 stor3 15
Part1 in Stor1 had 2 lot#s but it combines them. I want
the lots to be combined to give totals of parts regardless
of lot#.
I have tried the Group by with no luck but i may be doing
something wrong...
#s and locations. I need a query that groups my data
first by the product # then by location so that the output
groups the products then combines all the 'same' materials
from different lots in the same location together. Se
example below:
Part# Lot# Location quantity
part1 lot1 stor1 25
part1 lot2 stor1 30
part1 lot1 stor2 10
part1 lot1 stor3 15
To get this output:
Part# Location quantity
part1 stor1 55
part1 stor2 10
part1 stor3 15
Part1 in Stor1 had 2 lot#s but it combines them. I want
the lots to be combined to give totals of parts regardless
of lot#.
I have tried the Group by with no luck but i may be doing
something wrong...