the said example does work on a single page result of a query, but when applied to query result having multiple pages the running total became per page only. Is it possible to make the running total for the whole query itself rather than just a running total for that page only?