#1 in an occasional series.
sum field1, field2, field3 to tot1, tot2, tot3
works, as opposed to doing three SUMs.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
You can also sum to an array that is created by FoxPro if it doesn't already exist: SUM Field1, Field2, Field3 TO ARRAY aSums
Mike
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Alan Bourke Sent: Tuesday, August 16, 2016 8:06 AM To: profoxtech@leafe.com Subject: I've been using Fox for (large integer) years and I never knew that ...
#1 in an occasional series.
sum field1, field2, field3 to tot1, tot2, tot3
works, as opposed to doing three SUMs.
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]