[mapguide-users] sum of a field on selected items

farouk azzouhri farouk153 at gmail.com
Mon Mar 28 05:26:42 EDT 2011


Hi,

I have a form with javascript that gives me the number of features that are
currently selected : ***GetSelectedCount() ;

*Now I wanted a method for the sum of a field, it's easy with SQL: 'SELECT
SUM (population) AS Total FROM Agencies '

But I want the sum of a field on selected items, i can do that in javascript
or php ?????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110328/86d986f0/attachment.html


More information about the mapguide-users mailing list