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