I am combining two databases of financial transactions. In one of the tables there is a field used to represents the allocation of the transaction with another record in the same table. It uses the Record ID and Amount to reference the corresponding record. When combining the data from the two table of the two databases, the Record ID will change. How do I change all the Record IDs within this field, from the old ID to the new corresponding ID? Is there a way. The RecordID is the "I=" values that needs to be replaced with the NewRecordID.
In other words how do I for example, replace the value I=53983 with I=3 everywhere in the Allocation field and the same with all the other "I=" values?
NewID OldID Allocation
1 53033 I=53983;A=260.28
2 53038 I=53983;A=2922.59|I=54420;A=2194.19
3 53983 I=53033;A=260.28|I=54261;A=62.93|I=53038;A=2922.59
4 54261 I=53983;A=62.93
5 54420 I=53038;A=2194.19