I took over an old DBs that is used to track tenants.
The person who created it, no longer work for the dept . He created this query that calculates the days a property has been occupied.
DaysOccupied: IIf(IsNull([DateOut]),DateDiff("d",[DateIn],Date()),DateDiff("d",[DateIn],[DateOut]))
To...