>>>Hi at all
>>>
>>>Is there a function to calculate the toatl number of pages before starting the printing?
>>>
>>>Thnak you in advance
>>>
>>>Luigi
>>
>>No, not with VFP8. You must run the report, and then _pagetotal will give the value. Time to upgrade, since VFP9 has the feature you want ...
>
>But it still runs the report twice :-), just behind the szene
>Peter
Yes, I know, but it's still much easier to use.