Re: Design View Criteria question
- From: John W. Vinson <jvinson@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 13 Apr 2007 11:32:54 -0600
On Fri, 13 Apr 2007 11:42:31 GMT, "archico01" <u33274@uwe> wrote:
In design view of a query, what will be the output difference in the
following photos? What will happen to the data if I put the other criteria in
the "Or" column? Please click link. Thanks a lot guys!
http://i33.photobucket.com/albums/d98/archico01/qry.jpg
http://i33.photobucket.com/albums/d98/archico01/qry2.jpg
The first query will use AND logic: it will return those records for which the
first field is equal to 123, and (in the same record) the second field is
equal to 456.
The second query will use OR logic: it will return those records for which the
first field is equal to 123 (regardless of the value in the second field), as
well as all those records where the second field is equal to 456 (regardless
of the value in the first field).
Boolean Algebra is a wonderfully powerful but not necessarily intuitive
mindset. I owe Coach Clell Burnett, Bentonville High School, 1963 a lot of
credit for introducing me to the concept; and it's absolutely at the basis of
query design.
True AND True = True
True AND False = False
False AND True = False
False AND False = False
True OR True = True
True OR False = True
False OR True = True
False OR False = False
John W. Vinson [MVP]
.
- Follow-Ups:
- Re: Design View Criteria question
- From: archico01 via AccessMonster.com
- Re: Design View Criteria question
- References:
- Design View Criteria question
- From: archico01
- Design View Criteria question
- Prev by Date: Re: Batch Query - 42 tables to one Master Table
- Next by Date: RE: Calculations based on counts in a crosstab
- Previous by thread: Re: Design View Criteria question
- Next by thread: Re: Design View Criteria question
- Index(es):
Relevant Pages
|