barry17
barry17

Reputation: 153

Filtering dates in Access queries?

I'm building a report for a client. The report is not very complicated, just shows a bunch of stuff requested by the clients. One of the things I'm stuck on is... I need to be able to search by Transaction that took place between today and 6 months back. So when user click on Transaction report, it only shows the last 6 months from today. Anyone have any idea? I'm trying to build a query with that criteria, but I have no idea how it should be.

Another part of the report lets the client choose dates for the report (FROM & TO) and that's not too bad because I'm passing these values to a blank form and then using them in the report. However, here I'm having a hard time figuring it out.

Upvotes: 1

Views: 50

Answers (1)

barry17
barry17

Reputation: 153

=DateAdd("m", -6, Date()) This fulfills the requirements in my application

Upvotes: 1

Related Questions