Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not get the correct Grand Total
Message
From
12/04/1998 22:34:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Can not get the correct Grand Total
Miscellaneous
Thread ID:
00091431
Message ID:
00091431
Views:
50
I have the following SQL-result :

Name Limit Payment
John 100 5
John 100 10
John 100 30
Marry 300 20
Mary 300 50
Tony 300 80

I want the Report Design to print / preview as follows:
Name Limit Payment
John 100 5
10
30
--------------------------------------------------
100 45

Marry 300 20
50
---------------------------------------------------
300 70
Tony 300 80
---------------------------------------------------
300 80
---------------------------------------------------
TOTAL 700 195

How can I do that using Report Designer ? I have tried using variables but still can't get the correct TOTAL (700).
I asked my friend (a Delphi developer) to do this using Delphi report designer just to get an idea. I saw that he used variables in the report designer then I tried using variables in VFP report designer but I failed. What have I done wrong ?

Your help is highly appreciated.
Regards,
Andi Hidajat
Next
Reply
Map
View

Click here to load this message in the networking platform