Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Accumulate field in SQL
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to Accumulate field in SQL
Divers
Thread ID:
00333469
Message ID:
00333469
Vues:
44
Hi.

Anybody know of a way, in one pass, to accumulate a field with SQL code. I would like to do something like:
Select Myfield,Cum(Myfield) as MyCum from myfile into cursor Mycursor
To give following result:

Myfield Mycum
1 1
3 4
2 6
8 14
6 20 etc...

regards,
Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform