Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
# Pages in printer PROMPT window?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00925920
Message ID:
00926392
Vues:
15
--
>Okay. I looked at _PAGETOTAL in help, it implies to me that it's only set after the report is run, so it's unavailable to use in the REPORT FORM statment. Is there a way to do it in one pass?
>

That's not what help says at all. It simply says that if you use _PAGETOTAL anywhere in your report, that VFP will internally make 2 passes through your report to determine what the _PAGETOTAL is. The first pass is not visible, and the second one is.
--

But the REPORT FORM statement is executed before the first pass <s>.

The only time that it would be valid to say that you could use the RANGE clause and use the results of _PAGETOTAL would be if you were executing the REPORT FORM statement from print-from-preview. And, as you know, in VFP 8, print-from-preview totally pays no attention to the REPORT FORM clauses anyway...

>L<
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform