Hi,
Just wondering if anyone has some ideas on how to solve this problem. I have a customer cross reference list that is incomplete and I want to flesh it out fully. For example I have a file that looks something like this:
Customer_No Customer_Xref
1 2
1 3
3 5
So if I look at customer 1, I know that they link to customers 2 and 3, what I don't immediately know is that customer 1 also links to customer 5 indirectly through customer 3.
I've developed a solution but it's exhaustive and slow, as it looks at each file no in turn and then searches for any links on the cross reference. It keeps going until no new file numbers can be found. Any ideas would be most welcome!
Just wondering if anyone has some ideas on how to solve this problem. I have a customer cross reference list that is incomplete and I want to flesh it out fully. For example I have a file that looks something like this:
Customer_No Customer_Xref
1 2
1 3
3 5
So if I look at customer 1, I know that they link to customers 2 and 3, what I don't immediately know is that customer 1 also links to customer 5 indirectly through customer 3.
I've developed a solution but it's exhaustive and slow, as it looks at each file no in turn and then searches for any links on the cross reference. It keeps going until no new file numbers can be found. Any ideas would be most welcome!