Aloha,

Does anyone have a utility method for summarizing (and summing) a set of arrays?

For example with Invoice Line Items:

Arrays:
aItemNumbers
aItemDescription
aQuantitySold
aExtendedSoldAmount

Of course, with invoice line items there are multiple records with item 
numbers. I want a summary array where there is only 1 element with an item 
number, and the aQuantitySold, and aExtendedSoldAmount gets summed.

I know there’s lots of ways to do this, but didn’t want to reinvent the wheel 
if possible.

Thanks!

Sannyasin Siddhanathaswami
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to