General information
Category:
Reports & Report designer
--
>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<
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only