The Report_GetPageRemaining() function returns how much vertical area of the page remains, not including the current band. The value is measured in points.
An integer containing a measurement of the vertical area of the page that remains, measured in points.
Use this function to find out how much of the page remains when you want to insert a new band. If there is not enough vertical space for an item to fit, you can start a new page with the Report_NewPage() function, then insert the new band.
This function should be used only for reports that you print to the screen or to the printer. It does not return consistent results when you send a report only to a file.