Hi Guys,
I hope you can help me. I received some data in the following format:
Mr|A| Jones| $500| 15 Sunset Road| Claremont|||
15/3/2010|Invoice|$2000|
20/3/2010|Payment|$1500|
Mr|G| Moses| $2000| 20 Musket Road| Bellville|||
15/3/2010|Invoice|$4000|
30/3/2010|Payment|$2000|
I need change this raw data so that all the information appears in one string or row. eg:
Mr|A| Jones| $500| 15 Sunset Road|Claremont|15//2010|Invoice|$2000|20/3/2010|Payment|$1500|
I've already been able to split the information into two tables 1 with client data only (Mr|A| Jones| $500| 15 Sunset Road| Claremont|) and the other with transaction data only (15/3/2010|Invoice|$2000|)
I have unique numbers that could link the transaction to the customer (so all Mr Jones' transactions have 1 as a reference while all Mr Moses' has 2 as a reference.
Is there any way I can combine these tables into one? Or is there perhaps an easier way of getting the data above into one row that I'm not seeing?
I hope you can help me. I received some data in the following format:
Mr|A| Jones| $500| 15 Sunset Road| Claremont|||
15/3/2010|Invoice|$2000|
20/3/2010|Payment|$1500|
Mr|G| Moses| $2000| 20 Musket Road| Bellville|||
15/3/2010|Invoice|$4000|
30/3/2010|Payment|$2000|
I need change this raw data so that all the information appears in one string or row. eg:
Mr|A| Jones| $500| 15 Sunset Road|Claremont|15//2010|Invoice|$2000|20/3/2010|Payment|$1500|
I've already been able to split the information into two tables 1 with client data only (Mr|A| Jones| $500| 15 Sunset Road| Claremont|) and the other with transaction data only (15/3/2010|Invoice|$2000|)
I have unique numbers that could link the transaction to the customer (so all Mr Jones' transactions have 1 as a reference while all Mr Moses' has 2 as a reference.
Is there any way I can combine these tables into one? Or is there perhaps an easier way of getting the data above into one row that I'm not seeing?
Last edited: