How can I filter a form using multiple records within a field?

Lopez, Ahiezer 236 Reputation points
2021-11-08T21:32:57.487+00:00

Say I have a field named Project and within that field I have multiple 6 digit numbers. I have a form that has all the records showing all the different 6 digit numbers but now I only want the form to show all the records with a project number of '123456', '012345', '63*', and '121212'. How can I add a filtering option?

Microsoft 365 and Office | Access | Development
Developer technologies | Visual Basic for Applications
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. DBG 11,611 Reputation points Volunteer Moderator
    2021-11-09T18:18:44.793+00:00

    Just FYI, crossposted here...

    Microsoft Community

    0 comments No comments

  2. Tom van Stiphout 40,186 Reputation points MVP Volunteer Moderator
    2021-11-09T00:11:20.31+00:00

    You can OR the values together. Say you have some values sitting in txt1 through 4
    ... " where Project like " & Me.txt1 & " or Project like " & Me.txt2 ... etc.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.