G
Guest
Hi,
I need to be able to calculate the number of days that a bedspace was empty
in any given period. We currently calculate this taking the EndDate of the
periodand back counitng to the MovedOut date. This does not however work
when there has been more than one residency in the period.
Each bedspace has a unique ID and the ID's, MoveIn and MoveOut dates are
stored in tbl_residencies.
Any ideas for functions that coudl help would be much appreciated!
Many Thanks
I need to be able to calculate the number of days that a bedspace was empty
in any given period. We currently calculate this taking the EndDate of the
periodand back counitng to the MovedOut date. This does not however work
when there has been more than one residency in the period.
Each bedspace has a unique ID and the ID's, MoveIn and MoveOut dates are
stored in tbl_residencies.
Any ideas for functions that coudl help would be much appreciated!
Many Thanks