Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement