Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Expression
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01007965
Message ID:
01008036
Vues:
17
First, create a report variable called rnSumlose and define it as calculate SUM and the expression as flow_ra.lose. Set the reset value to end of report or data group or whatever fits your needs.

Now when you are ready to print, use rnSumlose + comm.sub2



>Dear Experts
>
>In report field expression I use following line
>
>sum(flow_ra.lose)+ comm.sub2
>
>But it creates error e.g.
>File ‘sum.prg’ does not exists.
>
>I do not want to use CALCULATION beacuse as expression
>sum(flow_ra.lose)+ comm.sub2
>I want to get the sum of (flow_ra.lose) and amount of (comm.sub2)
>
>How to use sum() in field expression?
>
>Please help
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform