Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page numbers in a report
Message
 
À
28/08/1998 15:46:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00131151
Message ID:
00131164
Vues:
15
>>>>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
Fil
Voir

Click here to load this message in the networking platform