I know that there is a way to do it, by pre-running the report to file, taking the _pageno value at the end, then re-running the report to the printer. But it seems like every day or two, there is someone here asking how to do it.
I would think that if the VFP team were to create an internal process to do this, it would be faster, and more efficient. I dunno. There is already a wish list item, so I'll drop it. Thanks anyways, Mike!!!
>Hi Todd,
>
>>I would like to see either a report system variable for total number of pages in report, or
>
>I'm not sure, but I think this can't be determined until the report has finished running, therefore if the REPORT FORM command were changed to run the quickly the first then a second time, it would be a very bad, slow and bad situation.
>
>This would be extremely useful, and there probably is an alternate way. You might want to wait until some Guru's (ie: not me) fill you in.
--Todd Sherman
-Wake Up! Smell the Coffee!