I have a query that pulls all employee attendance occurrences during the last 90 days. for the criteria in the query, I utilize Between Date()-90 And Date(). This worked all last year, and now that we have gone into the new year, it doesn't.
For example, I have an individual who I gave an occurrence to, today. So, the DateOccur field recorded in shortdate format 01/22/2005. I go and pull the report, and it can see all her occurences during november and december, but nothing from this month. I tried converting everything to long date, but it made no difference. Tried using Now() instead of Date() and it made no difference.
Unfortunatly, at this point in time I am not in a position to make any design overhauls to bypass this problem with code, so hoping someone knows a different criteria expression that might fix this. Thanks!
PS, I doublechecked the dates to make sure I wasn't crazy.
For example, I have an individual who I gave an occurrence to, today. So, the DateOccur field recorded in shortdate format 01/22/2005. I go and pull the report, and it can see all her occurences during november and december, but nothing from this month. I tried converting everything to long date, but it made no difference. Tried using Now() instead of Date() and it made no difference.
Unfortunatly, at this point in time I am not in a position to make any design overhauls to bypass this problem with code, so hoping someone knows a different criteria expression that might fix this. Thanks!
PS, I doublechecked the dates to make sure I wasn't crazy.