Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum function
Message
From
06/09/2002 12:23:24
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00697564
Message ID:
00697604
Views:
17
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
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform