Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Last page must have detail band
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00918901
Message ID:
00918959
Vues:
12
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
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform