Criteria

L

Loi

Hi,

In criteria at design view of query, I type in [Type in
the date]and I run query. By typing in any date in
parameter box, it will pull out a list of that date
information.

Ex: if i type in, 8/20/04, I can have a list of 8/20/04.
It is good.
------------
I would like to know a criteria which will show all
information of the date 8/20/04 + two dates after 8/20/04

Please show me a criteria which will show anydate+two
dates after that date.

Ex:when I type 8/20/04 in parameter box , it will show
3days in row like 8/20/04, 8/21/04/8/22/04.
Thank you
loi
 
V

Van T. Dinh

Provided that your Date Field only store date value (and not the time
component), you can use:

BETWEEN [Type in the date]
AND DateAdd("d", 2, [Type in the date])

type as ONE line in the criteria row.
 

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

Criteria 1
Looping through data with calculations 1
display records from a query 1
Between dates 7
setting "date" criteria 2
dlookup help 2
show balance in a query 1
Need help with time in a row. 3

Top