Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flexible Grand Total
Message
From
06/04/2007 05:57:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/04/2007 05:44:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01212899
Message ID:
01212901
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform