Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many pages?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00294900
Message ID:
00296567
Vues:
39
>>I think that my printer (CANON LBP-465) has its own "windows printing system", and this system do not support the printer TO FILE. Something about this is in the help of the printer. I emailed the CANON about this problem...i'm waiting
>
>mpagetot=0
>
>Repo form My_report noconsole
>
>mpagetot _pageno
>
>repo form My_report to print noconsole
>
>This is where you set the Page # out of to:
>"Page # "+alltrim(str( _pageno )) ' out of ' +alltrim(str( mpagetot))

Ok Stephen,your code works fine:I just had to skip "TO FILE".
But I have to say that not always _pageno returns the right number of pages.
For example,if you put at the bottom of the detail bar an edit box with "strech with overflow" checked and the edit box needs two pages,the real page number is 2 but _pageno returns only 1.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform