Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional display in footer
Message
De
06/01/2000 11:46:49
 
 
À
06/01/2000 11:12:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00313865
Message ID:
00313952
Vues:
33
>>>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!
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform