Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calc SUM up to current record
Message
De
13/02/2006 13:49:02
 
 
À
13/02/2006 13:24:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01095907
Message ID:
01095920
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>When I have a indexed table, how do I do
Calc sum(somefield)
for all records up to and including the currently selected record?
* independently to the order
currRec=RECNO()

Calc all while RECNO()#m.currRec sum(somefield) to nsum
nsum=nsum+somefield
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform