Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report
Message
From
07/08/2003 17:08:37
 
 
To
07/08/2003 16:45:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Report
Miscellaneous
Thread ID:
00817974
Message ID:
00817998
Views:
22
Didn't know that. Thanks Craig.

Nick Mason

>There is one flaw in this method. Under certain conditions, which are somewhat obscure, the final page count will be off by one. The fix is to run the report to file the first time.
>
>REPORT FORM MyRep NOCONSOLE TO FILE MyFile.txt
>lnPages = _PAGENO
>ERASE MyFile.txt
>REPORT FORM myRep Preview
>
>
>>Hi Robert
>>
>>You have to print the report with NOCONSOLE
>>store the number of pages which will be held in _PAGENO
>>then print the report again.
>>
>>lnPages=0 && Must init before rep
>>REPORT FORM myRep NOCONSOLE
>>lnPages=_Pageno && last Page of Rep
>>REPORT FORM myRep Preview
>>
>>Like so.
>>
>>Nick
>>
>>>How can i know the number of page of a report ?
Previous
Reply
Map
View

Click here to load this message in the networking platform