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

Leveraging multiple criteria with AND and OR statements - Microsoft Access Tutorial

From the course: Office 365: Access Essential Training

Start my 1-month free trial

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…

Contents