Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>>I have a client that wants to have a copyright notice printed
>>>>in the footer of the last page of their reports. Is there an easy
>>>>way to accomplish this? The app is written in Visual FoxPro 5.0.
>>>>Thanks for any assistance.
>>>
>>>Add a summary band to the page
>>
>>The summary band will not add it to the footer, just under
>>the last line of the report.
>
>Ooof. I had thought of that after I hit send, but didn't have a better answer for you.
>
>Try this.
>
>Initialize num_o_pages to 0
>
>Do you know the trick to capture the number of pages in the report? Its basically to issue the report form command with noconsole at the end, and don't put to print, or to file. Then check the value of _pageno. It should be the number of the last page of the report.
>
>Place that into num_o_pages then under print_when of the copyright notice, put _pageno = num_o_pages.
>
>Good luck!
I copied the report to a file and then included the When.
It works fine. Thanks for the help!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement