shanef1981
MIS
Hey folks!
I am trying to work out how to concatenate several entries in one field if two common fields have the same data in it.
For example:
The result I would like from this is that the first two lines are combined, so the project, PO and SN fields are concatenated as the Invoice and SAP_Code fields are the same.
Because the third line has a different SAP_Code entry I would like this one left alone.
I have written concatenation modules before, but never based on two matching fields, only one.
Any help or guidance on this would be massively appreciated - thanks
I am trying to work out how to concatenate several entries in one field if two common fields have the same data in it.
For example:
Code:
Invoice SAP_Code Project PO SN
-------------------------------------------------
22457845 010-08745 X234 226543 21215
22457845 010-08745 2345 265854 6744332
22457845 010-01124 Y435 r54445 p774562
Because the third line has a different SAP_Code entry I would like this one left alone.
I have written concatenation modules before, but never based on two matching fields, only one.
Any help or guidance on this would be massively appreciated - thanks