Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page _ of _
Message
De
05/07/2006 10:59:17
 
 
À
05/07/2006 10:53:57
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01133843
Message ID:
01133845
Vues:
15
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

>Is there a report variable for the total number of pages? Better yet, is there some where that the report variables and descriptions are published? Documentation just says backward compatibility, see report designer. Report Designer documentation was very little help too.
>
>'Page ' + alltrim(str(_pageno)) + ' of ' + alltrim(str(??????))
- 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform