simple query OR between fields

L

Luke

Another stupid question.

I have 5 fields in the same table. Field A,B,C,D,E,F

I want to create a query, to retrieve records where Field A (yes) OR
Field B (yes) . Field A and B are yes/no.

How do I do it using the simplest method?

Thanks.
 
A

Allen Browne

In query design view, below the Criteria row are several rows marked Or.
Place your criteria on different rows, so it looks like this:
Yes
Yes
Yes
Yes
Yes

The real problem here is the way the table is designed. If you want to build
a relational design that can do more, see:
Don't use Yes/No fields to store preferences
at:
http://allenbrowne.com/casu-23.html
 
C

christopheguth

Luke said:
Another stupid question.

I have 5 fields in the same table. Field A,B,C,D,E,F

I want to create a query, to retrieve records where Field A (yes) OR
Field B (yes) . Field A and B are yes/no.

How do I do it using the simplest method?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Simple query? 3
Access Dcount (multiple criteria) 3
index when to add 4
Append Query 3
Multiplication against a yes/no box 3
Mathematical Calculations in a form linked back to a table 7
How To Delete Duplicate 1
Query Question 4

Top