Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pages in a vfp6 rept: Page allt(str(_pageno)) of ???
Message
De
03/06/2002 15:32:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/06/2002 11:20:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00652896
Message ID:
00664237
Vues:
31
>Hilmar
>Thanks for the input. Sorry it took so long to get back, but that solution did work. Fortunately, it is only packing slips and Bill of Ladings I am dealing with (1 to 3 pages). If the report had several hundred pages, that could cause processing delays users may not be willing to contend with.
>vince bologna

The only safe solution seems to be to process the report twice. However, in some cases, you can calculate the number of pages just by counting the records - if you know for sure that you have exactly "x" records per page.

Packing slips might satisfy this requirement.

The calculation would be something like this:
RecordsPerPage = 10
NumberOfPages = ceiling(recno() / RecordsPerPage)
Hilmar.
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