Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Re: Report
Miscellaneous
Thread ID:
00448575
Message ID:
00448755
Views:
8
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
>How do I get the number of pages on the first page of report?
>>>>>>>>>>
>
>LOCAL lcfile
>lcfile = SYS(3)+" .Tmp"
>REPORT FORM &cRepName TO FILE (m.lcfile) NOCONSOLE
>ERASE (m.lcfile)
>pnpages = _PAGENO
>
>You print your report to a temporary file (and do a page count) and reprint your report to printer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>I've been called many things but never Mark.

Sorry, Mike. I wrote this in a harry, so I misspelled your first name. BTW, my son's name is Mark, may be this is the source of confusion :)

And, BTW, you don't need to use macro in the above example. It should be:
REPORT FORM (m.cRepName) TO FILE (m.lcFile) NOCONSOLE
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform