Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Impresión de reportes de mitad pagina
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00865811
Message ID:
00865848
Vues:
23
Because you are using VFP 7, not 8, I will add to what Hilmar has told you -- and please forgive my inability to use Spanish to do it <s>.

Although the variable he mentions (_PAGETOTAL) does not exist in VFP 7, you can easily do exactly what the product does to arrive at a total number of pages.

DEFINE WINDOW x FROM 1,1 TO 20,20
ACTIVATE WINDOW x NOSHOW
REPORT FORM simple
RELEASE WINDOW x


* _PAGENO now has the result you want


... you have to do the report to the NOSHOW window to get the correct results (don't use NOCONSOLE or OFF). But the characteristics of the window don't matter at all, and performance is very good.

>L<
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform