Hi Armin,
When a report has a memo field where "Stretch with Overflow" has been checked and the memo field is long enough to overflow to the next page, _pageno doesn't seem to increment in the overflow page. Do you have a solution to handle this?
Thanks,
C. Y.
>Silvio,
>
>>Is there a way of knowing how many pages do my report has ? In a variable like _pageno, for example...
>
>in addition to what Sergey and Rudolfo suggested you can redirect the output to the NUL device, so you don't have to delete the temporary file afterwards. This should also be a little faster.
>
>
>Report form test.frx to file nul NoConsole
>? _PAGENO
>
>
>HTH,
>Armin