I have 2 tables. Both Have a 9 digit Territory field.
Table 1 contains all territory data examples aaaaaa001, aaaaaa002, aaaaaa003
Table 2 contains only territories covered aaaaaa001
In reality as long as the first 6 digits match, it would be considered a covered territory. New territories get added to Table 1 all the time but Table 2 is stagnant, so if a new territory is added to table 1 and should be covered it is never picked up by table 2.
I am wondering if there is a way to search Left([Table2].[Territory] = Left([Table1].[Territory] so that anything aaaaaa gets pulled back from table 1.
I hope this is making sense.
My thought is add a 6 digit field to each table - query on those fields joined and return the 9 digit in the result. But I am not sure if there is an easier or more standard way or if doing this will cause my calculations to get messed up by now have a column with duplicate values.
Any advice would be appreciated
Thanks