Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total Number of Pages in Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00259081
Message ID:
00259118
Views:
16
>About question 1).
Beware of a gotcha in total # of pages on reports.

I had to give a current / total page count once. I found that different printers have different printable regions and you may find one that is different from the driver you used. In LONG reports >1000 pages you may find a difference of 10 pages + or - on some printers.

The controler has a report with the summary totals on page 1450 out of 1468. There were no more pages and I got my butt chewed on that one.

The users just got tired of waiting for the noconsole run for counting pages that they asked for that to be dropped.

__Stephen



>The only way to achive the number of pages in a Fox report is by running the report first. That way the system variable _PAGENO contains the total number of pages.
>There is a nice tool desinged by Markus Egger called Genrepox that has all this stuff already on board. It's available here from the download section.
>
>About 2)
>The Fox system variables _PBPAGE (start page) and _PEPAGE (end page) allows you to control this.
>Or use the RANGE option of the REPORT command (see the VFP help file for more info)
>
>Yves Mulkers.
>
>>
>Dear Fox Developers!
>>
>>I am facing a problem in getting report while using report designer in Visual Foxpro 5.0.
>>
>>1). Some of my reports have variable pages, Which I can't count with report designer control box before running the report. So I want to print the page footer in the shape "Page # 1/30". Presently I have the solution "the first number is avaiable by using _ppage variable but the second variable which contain the total pages in report is not avaiable yet by any available control".
>>
>>
>>2.) I want to run a report through my own Form and want to give the option of starting #, Eding # and the number of copies to print, Printing of Specific Page.
>>" How to control the system variables setting for getting desired results "
>>
>>
>>Looking for prompt reply from your side.
>>
>>
>>Tariq Noor Anjum
>>
>>tariq_anjum@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform