Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Functions of a calculated totals field
Message
 
 
À
11/07/2006 10:15:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01135308
Message ID:
01135331
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
You put Trip1 for the first variable, select Sum as an option and reset at group level. E.g. it's almost the same as creating the calculated field, except that you're creating it as a variable. Call it nTrip1, for example.

>Thank you, bless you but what do I put in the var's? Sure they need to refer to the group total field but how do I refer to a field that hasn't a name but is the sum() of a group column.
>
>>Simple. You really need two report variables for this.
>>
>>>Please consider the sample rpt layout below.
>>>
>>>The Route totals are at a group footing, totalling when group Route changes. So the values (in the 1st 2 totals: 370 and 400) are calculated, via Report Expression dialog, by the total fields being the same as the cursor fields: Trip1 and Trip2 (i.e their columns) and, via teh "Calculations" button -> Calculate Field dialog and "Sum" radio button selected.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform