Pascal, I am just wondering:
Did you try this? It is the best way to do it, IMHO.
Joe
>>I'm working on a report that prints invoices :
>>1. when I put the box that should appear at the bottom of the lastpage of an invoice in the group footer, the box appears immediatly after the last printed line, not at the bottom of the page. Can I force it to the bottom of the page ?
>>
>>OR
>>
>>2. when I put the box in the page footer, I want it to be filled in only on the last page of an invoice, but I don't know how to detect in the pagefooter if a group has ended. Is there a trick to detect if the group changed ?
>
>You may use two functions and call them from group header and group footer; they would set a logical variable (defined outside the report). The first should set it to .f., the other should set it to .t. - let's name it InvoiceEnd. Then, for the objects in the page footer, Print When InvoiceEnd.
Joseph C. Kempel
Systems Analyst/Programmer
JNC