Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sums
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Sums
Divers
Thread ID:
00761911
Message ID:
00762710
Vues:
14
Terry, I think I understand that the first pass, top to bottm, puts the dbf into an
array. Once there, the array can be addressed much like a spreadsheet.
Thus: repl nFieldTwo with myAr[1]+myAr[2]+....+myAr[6] && Field being summed

But I realize that I just wanted to make sure that I had not missed a new command,
with all of the new stuff happening with VFP --

one that already allows vfp to address a dbf more like a spreadsheet
-- from scratch, without having
to first pump it into an array --
such that a request for the value of a field
could be combined with recno(). so that ? MyField.recno()-6 might return the value
of MyField but six records prior. On the other hand, Fred Taylor notes that
the go command is already very fast.

Thanks
Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform