Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
# Pages in printer PROMPT window?
Message
 
 
To
19/07/2004 18:57:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00925920
Message ID:
00925977
Views:
17
>>>Today I received the third call from a panicked user wondering if the report
>>>they selected was really going to print 65,534 pages. I'm calling "report
>>>form (reportname) to printer prompt noconsole". Is there a simple way to tell it the number of report pages? Using VFP 8 SP 1 on Windows 2000.
>>
>>Chris,
>>
>>You can include RANGE 1, nTotalPages in your REPORT FORM statement and those numbers will be filled-in into the prompt
>
>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?

No, but you may try to do a rough estimate yourself if you're not printing memos and report is a simple one.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform