Just my 2 cents:
Maybe you could do something before the report runs. You could pre-process your cursors / tables before you REPORT FORM and fill a new field with a value. This value will be evaluated in the report and will trigger the fact it's either printed on the last page or on a new page.
Gensoft Sàrl
Christian Carron