Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Variable Issue
Message
De
29/07/1998 10:12:14
 
 
À
28/07/1998 21:30:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00122126
Message ID:
00122288
Vues:
18
>>This is a classic problem, with a classic solution: you just can´t do it with variables. You need to calculate, *before* you list anything, the grand total, so it will be available for calculating percentages.
>>
>Sorry about the rookie type questions but if I calculate the percentage values before I run my report, how do I pass the values to my report before it runs.... with the 'with' command like I do in a procedure as in do 'something' with perc1,perc2,perc3 etc. ?

For example, you could create a cursor with the percentages; index it on its primary key, and SET RELATION from your file to it; then, when listing, include the percentage from the cursor.

HTH!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform