Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement