Hi,
You could try Expr1artition(now()-[Date],1,120,30)
this breaks the info into groups startind with day1 ending 120 days with a grouping of 30 days - 1,120,30
If lastupdate contains a time value then you cannot get equality
For DateTime field:
WHERE ... Format(Lastupdate,"YYYYMMDD")=Format(Date()-30,YYYYMMDD) ...
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.