Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Report Designer question
Message
From
16/07/1999 12:38:14
 
 
To
16/07/1999 09:33:43
David Abraham
David Abraham & Associates, Inc.
New York City, New York, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00242272
Message ID:
00242381
Views:
23
>I created a Sales Commission Report using VFP's Report Designer.
>[question about summing snipped]

Heres's a trick I've used a couple of times.

Set a report variable's value to be an iterative sum. If nSum is your value,
set it's definition as:
nSum = nSum + [stuff you are accumulating]
Initial value is zero

Reset at appropriate break

In the function column, select 'Nothing'.

I think the accumulation only takes place whenever you use the variable. (Unfortunately, it might be recalculated for every detail line that prints, I'm not sure). But play around with it. It might work.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Previous
Reply
Map
View

Click here to load this message in the networking platform