Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Impresión de reportes de mitad pagina
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00865811
Message ID:
00865848
Views:
22
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
Map
View

Click here to load this message in the networking platform