B
Brian
I have a table that certain VBA functions populate when needed. The fields
include PartNumber, Quantity, and JobNumber. I need to write a query that
can use docmd.runSQL to combine quantities if the PartNumber and JobNumber
field match. So if I have:
PartNumber Quantity JobNumber
------------------------------------------
111111 10 ABCD
111111 20 ABCDE
111111 10 ABCD
222222 10 ABCD
I end up with:
PartNumber Quantity JobNumber
------------------------------------------
111111 20 ABCD
111111 20 ABCDE
222222 10 ABCD
Can anyone help with this?
include PartNumber, Quantity, and JobNumber. I need to write a query that
can use docmd.runSQL to combine quantities if the PartNumber and JobNumber
field match. So if I have:
PartNumber Quantity JobNumber
------------------------------------------
111111 10 ABCD
111111 20 ABCDE
111111 10 ABCD
222222 10 ABCD
I end up with:
PartNumber Quantity JobNumber
------------------------------------------
111111 20 ABCD
111111 20 ABCDE
222222 10 ABCD
Can anyone help with this?