how to write the query criteria

G

Guest

I have an effective and term date in my table. Some rows have a term date
that is one day after the effective date. How do I type the criteria to
exclude those records?
 
J

Jeff Boyce

Val

One approach would be to open a query in design view, add the table, and add
the two date fields.

Then, in the parameter line beneath these two fields, add the criteria you
want to use to exclude. One way might be to have the [term date] be >
([effective date] + 1.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
M

Marshall Barton

Val said:
I have an effective and term date in my table. Some rows have a term date
that is one day after the effective date. How do I type the criteria to
exclude those records?


Criteria for the TermDate field:
DateAdd("d", 1, [Effective Date])
 

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