I have the following Codes in a single string, “ ,WB3,W10,W01,W65,W31 “ each seperate code is stored in another table with its meaning i.e. WB3 = Re-Box etc.
What is the best way to pull these meanings in from the assioiated table.
I can do this for a single code but I am struggleing when there are more.
I am thinking an Instr function but not sure of the syntax etc
The query result I am looking for is
Order StringCodes Code Descr
111111 ,WB3,W10,W01,W65,W31 WB3 Re-Box etc.
111111 ,WB3,W10,W01,W65,W31 W10 Pre-10 am
111111 ,WB3,W10,W01,W65,W31 W01 Helper
111111 ,WB3,W10,W01,W65,W31 W65 Remove Packaging
111111 ,WB3,W10,W01,W65,W31 W31 Stair Walker
any advise appriciated
Steve
What is the best way to pull these meanings in from the assioiated table.
I can do this for a single code but I am struggleing when there are more.
I am thinking an Instr function but not sure of the syntax etc
The query result I am looking for is
Order StringCodes Code Descr
111111 ,WB3,W10,W01,W65,W31 WB3 Re-Box etc.
111111 ,WB3,W10,W01,W65,W31 W10 Pre-10 am
111111 ,WB3,W10,W01,W65,W31 W01 Helper
111111 ,WB3,W10,W01,W65,W31 W65 Remove Packaging
111111 ,WB3,W10,W01,W65,W31 W31 Stair Walker
any advise appriciated
Steve