Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page _ of _
Message
From
05/07/2006 11:57:55
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133843
Message ID:
01133869
Views:
14
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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform