General information
Category:
Reports & Report designer
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only