Ok then heres what i think is a complex one.
Table 1
Field1 Field2 Field3
077473837 106 1234
0774 105 1234
07 104 1234
Table 2
Field1
077473
078900
077400
I want to match field1 in table 2 to the best match (most digits matched) in Field1 of table 1 to give Table 2 Fields 2 and 3
So as per the example the results would be
Field1 Field2 Field3
077473 106 1234
078900 104 1234
077400 105 1234
But obvioulsy in a table with thousands of records....
Cheers,
Alistair
Table 1
Field1 Field2 Field3
077473837 106 1234
0774 105 1234
07 104 1234
Table 2
Field1
077473
078900
077400
I want to match field1 in table 2 to the best match (most digits matched) in Field1 of table 1 to give Table 2 Fields 2 and 3
So as per the example the results would be
Field1 Field2 Field3
077473 106 1234
078900 104 1234
077400 105 1234
But obvioulsy in a table with thousands of records....
Cheers,
Alistair