Making a report pull data from the last week only...

Jake_Wrestler

Board Regular
Joined
Sep 3, 2003
Messages
150
I have a database where our analysts log their time spent on projects. I'd like to be able to run a report that only pulls data from a range starting the day of the report and back 7 days. Any help would be GREATLY appreciated!!!
:oops:

Thanks.

(Ps. I am a very new user of Access so please K.I.S) :wink:
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I don't know if you are running the report off of a Table or a Query. If you are running it from a Table, simply create a query where you add all the records from the Table.

Now that you have a query, under the Date field, enter this under Criteria:
>Date()-7

Now, make sure that your report is using that query as its Control Source.
 
Upvote 0
That is awesome, thanks! Of course this makes me think, what if I want to specify a date range that I'd like to run it for, any quick and dirty ways to do this?
 
Upvote 0
In your query under the date field, enter in the criteria section
Between [Beginning Date] and [Ending Date]

Whenever you run this query, it will prompt you to enter the beginning date and then the ending date and will pull all data between those ranges.
 
Upvote 0

Forum statistics

Threads
1,221,825
Messages
6,162,190
Members
451,752
Latest member
majbizzaki

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top