Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Summary
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00885323
Message ID:
00885473
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Brenda,

Create a group in the report (if it is not yet there) based on the field in relation. Add two report variables:
- var1 having initial value 0, value to store 1, calculate COUNT, reset on the group
- var2 having initial value 0, value to store iif(var1=1,amount,0), calculate SUM, reset on the report end.

Var2 should give you the total for the parent table.

>The table is already selected and contains all the data that I can use. I am only allowed to make my changes in the report designer. I am helping a client who uses third party software to create the table and takes me right to the report designer.
>
>Brenda
>>You do not need to change anything in the table:
>>
>>use (yourtable)
>>sum (field_name) to variable_name
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform