Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many pages?
Message
From
25/11/1999 08:23:17
 
 
To
25/11/1999 04:14:36
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00294900
Message ID:
00295508
Views:
42
>>>How to know how many pages the report needs?
>>>Thanx
>>
>>You need to run the report twice, the first time to a file.
>>
>>REPORT FORM MyRpt TO FILE Dummy.tmp NOCONSOLE
>>lnMaxPages = _PAGENO && lnMaxPages has the total number of pages
>>REPOR FORM MyRpt TO PRINTER
>
>Hi Craig,
>thank you for the reply. Unfortunately, not all the printers can do
>this kind of report (TO FILE). Is there a second way?
>I want to put a label in the bottom of the page, but when my
>edit box in the detail takes two pages instead of one, I find the label in both of pages

Going to file has nothing to do with the printer. It is controlled in VFP.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform