Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>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
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