Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need advice on
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00496520
Message ID:
00496530
Vues:
8
Hi Brad,

That's clever, but another simpler way is to use Starts on the new page then less than somevalue. Also check recent FoxTalk magazine, where Cathy Pountnay discusses this problem as well.

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform