Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
# Pages in printer PROMPT window?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00925920
Message ID:
00926392
Views:
14
--
>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
Map
View

Click here to load this message in the networking platform