I hit a little road block with creating a query that retrieves certain records with dates. I'll try to explain as simply as I can. I'm using this database to track a single event. The separate queries i need to retrieve are:
1. Events from current date to 89 days in the past (I"ll refer to this as "current") Formula used: Between Date() And Date()-89
2. Events from 90 days to 179 days in the past ("90+ days") Formula used: Between Date() And Date()-89
3. Events from 180+ days in the past. ("180+ days") Formula used: Between Date()-180 And Date()-1000
Each query will have the Name, date and other info I'll add to the query. The block I'm running into is I only want to retrieve the last (most recent) date entered. When I originally ran it with just the date criteria it retrieved all records in that date range and I only need the last date for the completed event.
Also, I don't know if I will keep having "false positives" by having the personnel showing on each of the queries. To further explain, If i have employee A complete the event once each month he'd be considered "Current" on completing the event. Here's what I'm trying to track: I need employees to complete a certain task once within a 90 day period and they're considered "Current." After 90+days they need to get evaluated while performing the event. After 180+ days they need to get retrained.
The problem I might run into is if I run a query for those date ranges I'll have a "Current" employee also show up on the "90+" and the "180+" queries as well, which would tell me that this person last completed the event 180 days in the past.
Any help is greatly appreciated. Let me know if any further clarification is needed.
V/R,
Jeff