Query criteria

G

Guest

I have a query that i need to select records which fall between a 7 day frame.
I know how to have the criteria prompt the user to enter a start and end
date ( >=[enter start date] and <= [enter end date]) however I'd like the
user to be able to pick a start date based on another table/query which will
include that 7 day period.

Thanks in advance

Shawna Roe
 
J

John Vinson

I have a query that i need to select records which fall between a 7 day frame.
I know how to have the criteria prompt the user to enter a start and end
date ( >=[enter start date] and <= [enter end date]) however I'd like the
user to be able to pick a start date based on another table/query which will
include that 7 day period.

Thanks in advance

Shawna Roe
= [Enter start date:] AND < DateAdd("d", 8, [Enter start date:])

John W. Vinson[MVP]
 
G

Guest

Thanks very much!

John Vinson said:
I have a query that i need to select records which fall between a 7 day frame.
I know how to have the criteria prompt the user to enter a start and end
date ( >=[enter start date] and <= [enter end date]) however I'd like the
user to be able to pick a start date based on another table/query which will
include that 7 day period.

Thanks in advance

Shawna Roe
= [Enter start date:] AND < DateAdd("d", 8, [Enter start date:])

John W. Vinson[MVP]
 

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