Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Total
Message
De
21/11/2005 02:41:11
 
 
À
21/11/2005 02:02:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01070687
Message ID:
01070688
Vues:
11
>Dear Experts
>
>There are three numeric fields, fld1,fld2,fld3 and data in fields as
>
>Fld1 Fld2
>1 2
>6 8
>3 7
>0 3
>
>I want to get runing total of fld1+fld2 in fld3 as
>
>3
>17
>27
>30
>
>Please help
Use yourtable
lnTotal=0
Scan
  lnTotal=lnTotal+fld1+fld2
  Replace fld3 with lnTotal
Endscan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform