Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>>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!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement