>LOCAL lcPages
> REPORT FORM MyReport TO FILE DeleteMe.tmp
> lcPages = ALLT(STR(_PAGENO))
> REPORT FORM MyReport TO PRINTER
> delete file deleteme.tmp
>
>HTH
>
>
>>Cindy, thanks for the search info.... it works...:)
>>Also, lcPages only give me the page number and not the total number
>>of pages for the report...Please let me know if I am mistaken...:)
Hi there: I am displaying the total for lcPages in a wait window after the first report is run, but the second time I run the report my lcPages is not showing the total number of pages? I coded the lcPages in the click event on a button on a form.