- When find the "last-but-n" th value, if n takes you to a point preceding TheDate, then the first available date of that type (the type set by RentDateSwitch) is selected, even if this is not the "n-th preceding" but some other number which is less than n.
- In some circumstances, eg finding the last expiry, there may be no expiry that precedes TheDate. In this case a blank is returned.
- When looking for the "next but n-th" review, bear in mind that it is possible that one or more reviews could be part of the main lease and one or more reviews could be part of the relet lease (they don"t all have to be in one lease or another).
- When using this function, keep it clear in mind that LeaseStartDate, RentStart, ØExpOrBreakØ and Reviews relate to the main (initial) lease.
- The LeaseStartDate is not a variable normally used in rent functions, which only require a RentStart. LeaseStartDate is only used in this function for the very narrow of determining if the last or next lease start date is that of the main lease (ie LeaseStartDate itself) (switches 2 and 3). It is not used in the calculation of future lease start dates, rent start dates or reviews, which for relets are generated relative to the ØExpOrBreakØ of the main lease. For this reason, you may often wish to simply specify the LeaseStartDate to be the same date as RentStart.
- This functions output is always a date, or where none can be found or is relevant, a blank.
|