troubleshooting Question

where clause

Avatar of mrong
mrong asked on
Microsoft Access
18 Comments2 Solutions319 ViewsLast Modified:
I have a select stmt in access like the following. if I use 'in' it gives me all the records as long as it match one specialty in the string. Is there anyway to make it match all the specialty in STRING. I know I can use '=', but my problem is my STRING is so long and I really don't want split it.

select tbl1.* from tbl1 where tbl1.specialty in (STRING);

below is some sample data for tbl1

ID         specialty
001      roofing
001      plumbling
002      Interior design
002      roofing
002      parking lot
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 18 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros