A
|
aramuni 3/18/2010 |
Hi, I am trialing PHPRunner and I am trying to find a way to add a 'grand total' for a column on the last page of the pagination. I can see that in the list page I can add a Totals Type of TOTAL but this appears to only show the sum of a column on the current page of the pagination. What I want to do is to have this value cummulatively add up so that on the last page of the pagination the TOTAL reflects the sum of all rows in the table. Hope this makes sense. Any help would be very much appreciated - the only thing missing from the software before we buy! Regards, Denspad.
|
J
|
Jane 3/19/2010 |
Hi, $rstmp = CustomQuery("select sum(FieldName) from TableName"); |