Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flexible Grand Total
Message
De
06/04/2007 05:57:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/04/2007 05:44:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01212899
Message ID:
01212901
Vues:
12
>Hi all,
>
>I will like to do the below report:
>
> Staff# Earning Type Amount
>--------------------------------------------------------
>Cost Centre: 110
> 0001 01 100.00
> 02 50.00
> 03 30.00
>
> 0002 01 50.00
>
> 0003 01 20.00
> 04 30.00
>..................................................
>Total for Cost Centre
> 01 170.00
> 02 50.00
> 03 30.00
> 04 30.00
>
>Can someone advise me how/which method I can approach to get the total for cost centre since it is flexible? Can i use array variable to store and print in the group total?
>
>Regards

VFP9 supports multiple detail bands, and you could use another cursor that has sums in it through a relation. Check Cathy's samples.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform