The MSDN suggests your string to print it is too complicated to parse and recognize that _PAGETOTAL is being invoked, and to force VFP to run the report in two-pass mode. The IIF() near the end of the article should resolve:
https://msdn.microsoft.com/en-us/library/aa977060(v=vs.71).aspx
HWP's What's New in VFP8 also has some good suggestions.
On Mon, Mar 27, 2017 at 1:10 PM, mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
On 2017-03-27 13:10, Richard Kaye wrote:
How do you have REPORTBEHAVIOR set?
I tried it with 80 and 90, both. Same problem.
[excessive quoting removed by server]