Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional printing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00667045
Message ID:
00667571
Vues:
27
>I came up with a cleaner way to do this when I wrote the new Report Writer book. I haven't tried it for detail bands that flow to the next page, but I'm guessing it will work so give it a try.
>
>Create a data group .. you can create it on RECNO(). Create a report variable that is set up to count the detail lines and resets for each new data group. In the OnExit expression of the Data Group Footer, use _VFP.SetVar('nLines', 0) to clear the lines. Now you can put your "continued" text in the Page Footer band and use "nLines > 0" as the Print When expression.
>
Cathy,

This is good stuff, I think you have me pointed in the right direction. Assuming I followed the above instructions correctly, i.e. RECNO() for a group, report variable nLines to count number of lines in detail band, SEtVar code in 'OnExit', "continued" text in Page footer and nLines > 0.

I was wondering how to limit the number of lines in the detail to 12, could I put the "continued" text in Group footer or even the detail band itself?
Any advice would be greatly appreciated.
Thanks,
Winn Pauley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform