[mapserver-users] Query result attribute sums / totals
Ben Madin
ben at remoteinformation.com.au
Fri Jan 9 18:46:30 PST 2009
G'day Richard,
On 09/01/2009, at 10:30 PM, Richard Greenwood wrote:
> On Fri, Jan 9, 2009 at 12:51 AM, Ben Madin <ben at remoteinformation.com.au
> > wrote:
>> However it would be really really great if the total Number over
>> this time
>> could be calculated as a total, and put in the footer row.
> You could easily calculate the sum with JavaScript in the browser.
> Declare a variable "total" and then for each row, within a JavaScript
> tag, something like:
> total += [Number]
thank you - works perfectly! (and knowing this works opens up enormous
opportunities for enhancing the output)
cheers
Ben
--
Ben Madin
REMOTE INFORMATION
t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome WA 6725
ben at remoteinformation.com.au
Out here, it pays to know...
More information about the MapServer-users
mailing list