Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page numbers in a report
Message
 
To
28/08/1998 15:46:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00131151
Message ID:
00131164
Views:
16
>>>>Can anyone tell me what the command for page number is for a report and is there a page count command or variable?
>>>
>>>You can use _PAGENO variable to get number of current page. At the end of report _PAGENO will contain the total number of pages, so if you want to print 'Page X of N' then you should run report twice, firstly into dummy file and secondly to printer.
>>
>>Thanx Edward,
>>What does _PAGENO return because I put 'Page: ' + STR(_PAGENO) in a text box and I got an error both with STR and without and I can't stop it to see exactly why I am getting an error! The report runs fine if I remove this text box.
>
>It's Integer, and "Page: " + ALLTRIM(STR(_PAGENO)) should work Ok. Did you place it in Page Footer?

Thanx,
I must have typed wrong the first time! I'll try again!
Previous
Reply
Map
View

Click here to load this message in the networking platform