Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sums
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Sums
Miscellaneous
Thread ID:
00761911
Message ID:
00762710
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform