Why can I set this criteria?

  • Thread starter Thread starter smith
  • Start date Start date
S

smith

I can't set the "or". Please give me detailed instructions.
Please refer to the following:

Open a new query with your table as the source. Set the criteria under the
FieldA column like:
[Field B]
[Field C]

Make sure you use two lines in the criteria grid to get an "OR" rather than
an "AND".
 
I can't set the "or". Please give me detailed instructions.
Please refer to the following:

Open a new query with your table as the source. Set the criteria under the
FieldA column like:
[Field B]
[Field C]

Make sure you use two lines in the criteria grid to get an "OR" rather than
an "AND".

Just do exactly what Duane suggested.

Put one criterion on the first Criteria line underneath FieldA.
Put the second criterion on the second Criteria line, underneath the
first one.

Access will see that these two criteria are on separate lines and use
OR logic (so that the record will be found if FieldA matches FieldB,
or if it matches FieldC, or if it matches both).


John W. Vinson[MVP]
 

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

Access Dcount (multiple criteria) 3
Setting criteria in query 2
Cascade queries 7
Create New Table/Column 1
Field Criteria 9
2 independent criteria in a query 2
Data Mismatch in Excel 2010 4
Changing Time using a macro 1

Back
Top