Queries

C

Carp

Hello,
I am trying to run a query to find every instance that a number lower than
255 appears in a field for each record. The query should run for several
fields for each record. I have tried typing <255 in criteria, but I am
having a problem. If one of the fields in the record ever has a number
greater than 255, then that record does not show up when I run the query.
What I am trying to do is run a query that will indicate anytime a number
smaller than 255 appears in any field on a record.

Any help would be appreciated. Thanks!
 
K

KARL DEWEY

Open the query in design view.
Put the criteria <255 for each field you are concened with BUT in a
different row -- 1st field - 1st row, 2nd field - 2nd row, 3rd field - 3rd
row, etc.
 
M

Marshall Barton

Carp said:
Hello,
I am trying to run a query to find every instance that a number lower than
255 appears in a field for each record. The query should run for several
fields for each record. I have tried typing <255 in criteria, but I am
having a problem. If one of the fields in the record ever has a number
greater than 255, then that record does not show up when I run the query.
What I am trying to do is run a query that will indicate anytime a number
smaller than 255 appears in any field on a record.


Try putting the <255 on different criteria rows. When they
are on the same criteria row, all of them must be true
(AND), on separate rows then any one or more of them can be
true (OR).
 

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

Top