I want to put a box on a report that will display the items that are 30 over due. For instance the date of the item is stored in a table in a field called [DateofRecord]. so I want to count the records that a query for a report returns if the [DateofRecord]+30 > today AND if [Status]="In Progress".
What is wrong with this statement:
=Sum(IIf([Status]="In Progress" AND ([DateofRecord]+30)>Today,1,0))
TIA
What is wrong with this statement:
=Sum(IIf([Status]="In Progress" AND ([DateofRecord]+30)>Today,1,0))
TIA