Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compute a Sparse Average
Message
 
 
À
10/02/2009 15:22:35
Ken Knorr
Logos Management Software
Ventura, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01380665
Message ID:
01380828
Vues:
51
>Does anyone have a way to compute a average of data in footer bands. Data with value of 0 should not be counted in average.
>
>In other words if data in shown in detail band is 16, 0, 0, 0 the average should be 16 not 4.
>
>Ken

I dunno if it'll work but you can try to convert zeros to NULLs
IIF(myfield=0, CAST(NULL AS I), myfield)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform