Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Totals on top of group
Message
From
28/06/2007 19:23:59
Victor Chigne
Inteliventas
Peru
 
 
To
28/06/2007 19:21:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01236632
Message ID:
01236635
Views:
14
Hello Hilmar:
That would be one way, but I seem to remember that there is a way new to VFP 9 which let you do this. But I don't remember what.
>>Hello.
>>
>>How can I display the totals of a group above it instead of below?
>>
>>Regards
>>
>>VCT
>
>One way would be to prepare the data beforehand; for example:
>
  • Get totals from your cursor, with a GROUP BY, into a second cursor.
    >
  • Join this back with the original cursor. This will get you totals in each record; that will make it available in the group header.
  • Previous
    Reply
    Map
    View

    Click here to load this message in the networking platform