How to filter for multiple criteria

How do I filter for multiple criteria in Access 2007? If you right click on a column, select text filter, how can you filter for multiple criteria? For example, I want to search for LastName = 'Jones' or LastName = 'Smith'.

Entering Smith works; entering 'Jones' or 'Smith' doesn't. This did work in Access 2003.
Who is Participating?
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.

Jinesh KamdarCommented:
How about this - LastName IN ('Jones', 'Smith')

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
On you toolbar you will have 3 filter options.  One of them is called Filter by Form.  If you click this you can add your selection as required.

To remove the filter you can use the right click "Remove Filter" option.
Jinesh KamdarCommented:
Can u post a snap-shot of ur Query Design view?
Jeffrey CoachmanMIS LiasonCommented:

Is this on all 2007 machines?

Is this in all databases opened with 2007?

Are you simply running the 2003 databases in Access 2007. Or did you convert them?
Conversely, are only the true Acc2007 format DB's having this issue?

MS has released service pack 1 for office 2007.
Install it, and see if the issue is fixed.
(Set a system restore point, and back up your system if possible, before installing the Service Pack.)

Also, Look into building a Multi-select list box.
This way you can just click the values, instead of typing them in. (and not worry about spelling errors in looooong "OR" statements)

Hope thjis helps as well

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.