General information
Category:
Reports & Report designer
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<
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only