Hi,
I have a table with fields "TYPE" and "QTY". Typical values for "TYPE' are A, A_2MULL, A1_2MULL, B, etc. QTY are integers. I want to add the QTY for all records with the same characters to the left of "_". Example:
TYPE QTY
A 6
A_2MULL 4
A1_2MULL 5
RESULT:
TYPE QTY
A 10
A1 5
Thanks in advance.
I have a table with fields "TYPE" and "QTY". Typical values for "TYPE' are A, A_2MULL, A1_2MULL, B, etc. QTY are integers. I want to add the QTY for all records with the same characters to the left of "_". Example:
TYPE QTY
A 6
A_2MULL 4
A1_2MULL 5
RESULT:
TYPE QTY
A 10
A1 5
Thanks in advance.