Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Report Designer question
Message
De
16/07/1999 12:38:14
 
 
À
16/07/1999 09:33:43
David Abraham
David Abraham & Associates, Inc.
New York City, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00242272
Message ID:
00242381
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform