Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subtotals and totals
Message
De
12/07/2006 13:14:53
 
 
À
12/07/2006 10:15:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01135680
Message ID:
01135779
Vues:
13
This message has been marked as the solution to the initial question of the thread.
>(in the Detail band)
>qty_select unit_price qty_select*unit_price (for the extended line total)
>
>In the Group Footer band, I have the extended line total summed. It's perfectly fine. I also have three other fields there:
>
>misc_chg
>sales_tax
>frt_chg
>
>And a fourth field that adds those three fields to the subtotal for a grand invoice total.

Add a report variable, Order_Total, and have it calculate the total of the extended line totals. That is, Initial Value = 0, Value to Store = qty_Select*Unit_Price, Calculate-Sum.

In the Group Footer, use:

Misc_Chg + Sales_Tax + Frt_Chg + Order_Total

with no calculation set.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform