Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum function
Message
 
 
To
06/09/2002 12:23:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00697564
Message ID:
00697625
Views:
16
Thanks Steve.

>I think that is better than setvar(). Jeff, be sure to set c1 to reset on the field2 group.
>
>>>I want to Sum field1 but only when field2 changes.
>>
>>Create Report Variables:
>>Name  Initial Value  Value to Store   Calculate
>>c1    0              0                Count
>>s1    0              IIF(c1=1, f1, 0) Sum
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform