M
mouac01
I have this array:
[{"acct":"A1","dr":100,"cr":100},{"acct":"A2","dr":200,"cr":200},
{"acct":"A1","dr":300,"cr",300},{"acct":"A2","dr":400,"cr",400}]
How would I get the subtotal of each acct so that total for A1 dr/cr
is 400 and total for A2 dr/cr is 600.
TIA...
[{"acct":"A1","dr":100,"cr":100},{"acct":"A2","dr":200,"cr":200},
{"acct":"A1","dr":300,"cr",300},{"acct":"A2","dr":400,"cr",400}]
How would I get the subtotal of each acct so that total for A1 dr/cr
is 400 and total for A2 dr/cr is 600.
TIA...