I have a report that groups a property with any leases it has had during a given period. How can I calculate the days the property was vacant based on a field in the previous record's lease vacating date and the next lease start date, i.e.:
Property
Lease 1 Start Date / End Date /
Lease 2 Start Date / End Date / Days Vacant = [Start Date] - [Lease 1 End Date]
Lease 3 Start Date / Days Vacant = [Start Date] - [Lease 2 End Date]
There is no limit to the number of leases a property might have.
Property
Lease 1 Start Date / End Date /
Lease 2 Start Date / End Date / Days Vacant = [Start Date] - [Lease 1 End Date]
Lease 3 Start Date / Days Vacant = [Start Date] - [Lease 2 End Date]
There is no limit to the number of leases a property might have.