Parameter Query - Limit Records to 14 Days

D

DD

Help, I have a parameter query which asks the user to
input a beginning date. As opposed to making the user
enter the last date in a two-week period, I would like to
limit the query to records to only 14 days but I have no
idea how to do this.
 
G

Gerald Stanley

If you are using the Query Builder, then something along
the following lines should be put into the Criteria for the
date column
Between [Enter Date] And DateAdd("d",14,[Enter Date])

Hope This Helps
Gerald Stanley MCSD
 
F

fredg

Help, I have a parameter query which asks the user to
input a beginning date. As opposed to making the user
enter the last date in a two-week period, I would like to
limit the query to records to only 14 days but I have no
idea how to do this.

As criteria in the Date column:
Between [Beginning Date] And DateAdd("d",14,[Beginning 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