>Hi..... Suppose I design an Invoice which every invoice has footnote to be printed on the last page of the invoice. However I could not put on to summary banner, as it is printed only once. I want it is printed per invoice.
>How can I do it? Is there any variable to force to go to next page?
>
>Thanks.....for your help.
- Create a Data Group on the Invoice Number and tell it to start on a new page.
- Create a Report Variable called rnCount, set it to COUNT and tell it to reset at "End of Invoice".
- In the On Exit expression of the Group Footer, put the following command: _VFP.SetVar('rnCount', 0)
- Put the objects you need to print in the Page Footer and set the Print When expression to "rnCount = 0".
Just keep in mind that the report writer will still reserve the space defined in the Page Footer for every page, regardless of whether the items are being printed.
Cathy