It's in this article:
http://msdn2.microsoft.com/en-us/library/ms965281.aspxSearch for "Your Listener: Pagination".
>>In VFP 9, this can be done with a ReportListener and I show how in my whitepaper on the MSDN website. However .. I'm guessing you need a solution for a previous version. If you can make an assumption about the maximum amount of room needed for each detail band, you can do this...
>
>Cathy,
>
>I've glanced through the articles, but didn't find it. Do you remember which aritcle in particular explained how to keep at least one detail line with the group footer?
>
>Thanks a lot again.
>
>
>>
>>1. Create a data group with an expression of RECNO().
>>2. Set the data group to start a new page when less than ?? inches.
>>
>>Cathy
>>