I have a large number of 4 digit codes which describe a drop which can be applied to a route, the route is made up of the combination. I am look for a way to check the codes against a table.
"A001/A901/C002/V004" could be the chosen string code BUT they may be entered as "C002/V004/A901/B001" etc
If I could be certain that they would always be entered in the correct format a straight forward lookup would do, but this is downloaded from an outside source and not always true....
I think I need an instr() type function combined with a loop but not sure how to construct, or if that is the correct method.
I need the lookup to match "C002/V004/A901/B001" to the stored code of "A001/A901/C002/V004"
table
Code
A001
A901
C002
V004
etc
Any advise welcome
"A001/A901/C002/V004" could be the chosen string code BUT they may be entered as "C002/V004/A901/B001" etc
If I could be certain that they would always be entered in the correct format a straight forward lookup would do, but this is downloaded from an outside source and not always true....
I think I need an instr() type function combined with a loop but not sure how to construct, or if that is the correct method.
I need the lookup to match "C002/V004/A901/B001" to the stored code of "A001/A901/C002/V004"
table
Code
A001
A901
C002
V004
etc
Any advise welcome