Chapter 14
I Want These AND Those OR Them
IN THIS CHAPTER
Setting criteria for your queries
Working with the AND and OR operators
Including AND and OR in the same query
As you build larger and more complex databases with Access, your questions about the data they contain also become larger and more complex. Simply changing the order of your records — sorting from A to Z and then from Z to A — and filtering it from one or more perspectives just may not be enough for your needs anymore. The more data you have, the greater your need to find and use data. And, you also need it quickly.
What to do? You can use queries that ask questions (present criteria to the database to see which records meet them) to help you find the records you need to access (pardon the expression) right now.
This chapter shows you how to set more specific criteria for your queries, controlling the answers to your database questions with ease and speed. You also find out about two very powerful Access operators — AND and OR — what the operators do, how they do it, and (most important) when and why to use them.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access