Hi Craig
Yes, I remember now; I knew there was somthing else.
>Terry,
>
>There is an obscure bug that sometimes causes incorrect pagetotal values when using this method. The solution is to run the report to a file instead of just NOCONSOLE.
>
>>Scott
>>
>>This seems to be one of the most common requests.
>>
>>First include a var in the report at:
>>
>>'Page ' + alltrim(str(_pageno)) + ' of ' + alltrim(str( lnEndPage))
>>
>>Then do
>>
>>Report Form rptYourReport NOCONSOLE && Note no output
>>lnEndPage = _pageno && will now hold last page no.
>>Report Form rptYourReport ... && the actual desired report
>>
>>Later VFP (8 onwards I think) has an _endpage (or similar) report var
>>
>>HTH
>>
>>Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.