On a monthly report, I am trying to flag the projects where the status has changed from the previous month by placing a * next to the status. I have tried the following in a text box:
=IIf(DateDiff("d",[SPECIAL ASSESSMENT DISTRICTS]![DateModified],Date())<31,"*"," ")
I am calculating the difference in dates between the current date and the date the record was last modified. If less than 31 days, return the *. If greater than 31 days, return nothing. However, I keep getting an #Err in the print preview of the report.
Any suggestions are welcome.