You can't specifically tell it to always include one detail band on the last page. One work-around is to change the height of the detail band so it is as tall as you need for the detail + the height of the group footer. At the very bottom of the detail band, add a horizontal line, change the print when logic to ".f.", mark it as "remove line when blank".
What this will do is always go to a new page if the detail and the group footer won't fit. The dummy line is used to trick the report writer into getting rid of the extra space in the detail band. The drawback of this solution is that EVERY page will end the details with extra room because it thinks it needs the extra space.
Cathy
>Hi.
>I have a report with a number of groups and no summary. The customer asked to make it print in a manner that at least one detail line appears on the last page. Now sometimes the last page contains only the last group footer.
>So is it possible to make a report print at least one detail line on the last page? (VFP7.0)
>Thank you.
>Kamil