Date that falls between 2 other dates

  • Thread starter Thread starter Txlonghorn76
  • Start date Start date
T

Txlonghorn76

I have a query which includes an Invoice date field and I want only the
invoice dates that fall between the Start Date Field and the End Date field.
How can I tell the query to select all invoice dates that are greater than
the Sate Date field and less than the End date field?
 
In the Invoice Date criteria put in

Between [Start Date Field] And [End Date Field]

If you are manually plugging in the date values then use # signs like

Between #1/1/2008# And #12/31/2008#
 
Are StartDate and EndDate values from a form or are you going to hard code
these in?

If from a form:
Between forms!_your form name here_!StartDate AND forms!_your form name
here_!EndDate

< forms_your form name here_EndDate AND > forms!_your form name
here_!StartDate

Hard Coded
Between #1/1/2003# AND #2/2/2009#
#1/1/2003# AND <#2/2/2009#

HTH

Vanya
 

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

Dcount returning no results!!! 0
Date question formula 4
Query Help Please 3
date confusion 2
Date Function in query 3
query filter for end of current month 3
Query User Defined date range 2
two table query 10

Back
Top