[Zope] how to accumulate data using ZPT

Hugo Ramos ramosh at gmail.com
Fri May 20 04:52:51 EDT 2005


Yellow,

What DBMS are you using??? MySQL???
If so just have a sql method do this:
==========
SELECT COUNT( '*' )  AS total
FROM yourtable
==========

Then call the variable total where you need it!

Regards
hr


On 5/20/05, prabuddha ray <buddharay at gmail.com> wrote:
> I've this report wherein i've to print the column total iin last row.
> column values are from database.
> so far I'm a total loss. do i need to have cookies to store this total?
> 
> plz gimme ideas.
> 
> --
> Share the vision of difference with ME
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 


-- 
Hugo Ramos - ramosh at gmail.com


More information about the Zope mailing list