Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force page break in VFP report
Message
De
06/08/2007 18:03:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/08/2007 17:57:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01246331
Message ID:
01246332
Vues:
34
>I am writing a report with VFP report writer where keeping the groups together (no page break) is very important. Th number of records in each group varies from 2 to 20-30 lines. I'd like to determine the size of the next group at the end of the current group, and then force a page break or not.
>
>I think I have it figured out with the exception of forcing the page break.
>Any ideas?
>
>Thanks,
>Larry Morelli

If you can calculate on what page each record is supposed to be, you might have a field where you insert, precisely, this page number. Then, create a group on that field, and make every group start on a new page.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform