Two Criteria

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query with a criteria set on one filed as "not blank". This gives
me all records that are NOT blank in this field, works great. I also have a
date field and want to set the criteria for it to show all records that do
NOT have a date. I can't get anything to work for this. How do I get all
records with no date on this query? Thanks!
 
When you put two criteria in the same row you get an "And" combination of
the criteria. Your query is returning all records where the first field is
blank AND the date field is blank. If you put the criteria in different
rows, you get an "Or" combination of the criteria. If you want the query to
return all records where the first field is blank OR the date field is
blank, put the criteria for the first field in the first row and the
criteria for the date field in the second row.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
(e-mail address removed)
www.pcdatasheet.com

\
 

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

Back
Top