Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System Variable for Total No. of Pages?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00507933
Message ID:
00508128
Vues:
34
>>
>=SYS(1037)
>REPORT FORM MyReport to FILE TempRept.prn NOCONSOLE
>TotalPages = _PageNo
>DELETE FILE TempRept.prn
>REPORT FORM MyReport TO PRINT NOCONSOLE
>
>
>Otherwise, you may have an issue with the printable area being different between the default printer and the one chosen by the user. That could potentially mean that the "TO FILE" report would have a slightly different page count than the "TO PRINT" report because the number of lines that can fit on the page may be slightly different.
>
>Cathy

Cathy,

In regards to the page count being reliable, do you know whether it works to:
SET PRINTER TO NAME (printerName)

instead of:
=SYS(1037)

Thanks,
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform