Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Total pages in a report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00138656
Message ID:
00138714
Vues:
13
> Private pnPages
> Local lcFile
> pnPages = 0
> lcFile = Sys(3)+".Tmp"
> Report Form myReport to File (m.lcFile) Noconsole
> Erase (m.lcFile)
> pnPages = _PAGENO
> Report Form myReport to Printer Noconsole

Fancy meeting you here, Christof! :)

I haven't tried it, but I would suggest using NUL as the file to print to, instead of Sys(3) + ".Tmp". That way you don't even hit the disk and don't have to erase the temp file.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform