How can I filter a table based on a composite string in another table field?

In table "A" there is a field with a string of characters (ex: +(X010D/X010E/X010F/X010G)+(XD40A/XD40B)+(XT40A/XT40B/XT40C)+(X025A/X025C).  Each value in that string that is not a special character refers to a whole field value in table "B".  I want to see all of the referenced records in table "B."  

The string I want to filter on is in an unbound filter form text box.

Where do I start?
Jay WilliamsOwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rey Obrero (Capricorn1)Commented:
with this value in table "A"
 +(X010D/X010E/X010F/X010G)+(XD40A/XD40B)+(XT40A/XT40B/XT40C)+(X025A/X025C)

do you mean the value of the field in "B" is
X010DX010EX010FX010GXD40AXD40BXT40AXT40BXT40CX025AX025C

if that is the case, then you can use a query

select B.* , A.[FieldA]
from B, A
where [fieldB] = replace(replace(replace(replace([FieldA]","+",""),"(",""),")",""),"/","")
Rey Obrero (Capricorn1)Commented:
if that is the case, then you can use a query

select B.* , A.[FieldA]
from B, A
where [fieldB] = replace(replace(replace(replace([FieldA],"+",""),"(",""),")",""),"/","")
Jay WilliamsOwnerAuthor Commented:
+(X010D/X010E/X010F/X010G)+(XD40A/XD40B)+(XT40A/XT40B/XT40C)+(X025A/X025C) in table A is actually:
X010D
X010E
X010F
X010G
XD40A
XD40B
XT40A
XT40B
XT40C
X025A
X025C
(separate records) in Table B.
Rey Obrero (Capricorn1)Commented:
try

select B.* , A.[FieldA]
from B, A
where Instr(A.[FieldA], B.[fieldB]) >0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jay WilliamsOwnerAuthor Commented:
Returned duplicates, but Select Distinct worked like a champ.  Thanks Rey!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.