From the course: Office 365: Access Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Leveraging multiple criteria with AND and OR statements - Microsoft Access Tutorial
From the course: Office 365: Access Essential Training
Leveraging multiple criteria with AND and OR statements
- Adding multiple query criteria to filter your records can be accomplished in a couple of different ways. Let's create a query that explores our Guest data and uses multiple filtering criteria. And we'll start, just like we have before, on the Create tab in our query designer. Here I'm going to add in a couple of tables. I'm going to double-click on Guests, we're going to double-click on RoomAssignments, and I'll double-click on Rooms. That'll add those three tables up here to the grid and I can go ahead and close out the Show Table window. Next we're going to pull down a few fields. From the Guest table I want the FirstName and the LastName, so I'll double-click on each. We're also going to grab the Country from the Guest table. From RoomAssignments I want the CheckInDate and the day of the week, which is this field here. And finally from the Rooms table, I want to get the RoomName here, this one, I'll double-click that, and Bed. So add that one as well. So now we have seven columns…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Searching and replacing values3m 10s
-
Creating queries with the Simple Query Wizard3m 58s
-
Building queries in Design view9m 23s
-
Establishing constraints with criteria5m 28s
-
Specifying criteria with wildcards4m 16s
-
Leveraging multiple criteria with AND and OR statements6m 7s
-
Filtering with mathematical comparisons3m 41s
-
Creating flexible queries with parameter requests5m 7s
-
Building expressions7m 26s
-
Obtaining summary statistics7m 3s
-
Challenge: Creating queries42s
-
Solution: Creating queries4m 38s
-
-
-
-
-
-
-
-
-