Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need advice on
Message
 
À
17/04/2001 22:59:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00496520
Message ID:
00496526
Vues:
8
This message has been marked as the solution to the initial question of the thread.
I find it annoying that Group Headers don't repeat when only a Group Footer prints on a page, but I guess it's a feature, not a bug (g).

There isn't an obvious solution to this, but there is a workaround.

Add a field object to the bottom of your detail band that is the same size (height) as the group footer. Give it an expression of "PLACED HERE FOR WIDOW/ORPHAN CONTROL". Set its PrintWhen to have the following properties: Remove Line if Blank=Checked and Print Only When Expression is True: .F.

This way it will never print (and it'll never take up space), but every time a detail band comes around to print, VFP will check the ENTIRE DETAIL BAND HEIGHT (before it evaluates all the PrintWhen's and RemoveLine stuff) against how much room is left on the page and it'll therefore end up printing your last detail record on another page with the group footer if there is, in fact, not enough room at the bottom of the page.

Hope this helps...

(If this posts solves your problem, please click on the "Mark this message as the answer to the thread" hyperlink below... Thanks).

--Brad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform