Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 10:36 +0100 schrieb Hugo Ramos: > On 5/20/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > > Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos: > > > Yellow, > > > > > > What DBMS are you using??? MySQL??? > > > If so just have a sql method do this: > > > ==

Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Hugo Ramos
On 5/20/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos: > > Yellow, > > > > What DBMS are you using??? MySQL??? > > If so just have a sql method do this: > > == > > SELECT COUNT( '*' ) AS total > > FROM yourtable > > == >

Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Tino Wildenhain
Am Freitag, den 20.05.2005, 09:52 +0100 schrieb Hugo Ramos: > Yellow, > > What DBMS are you using??? MySQL??? > If so just have a sql method do this: > == > SELECT COUNT( '*' ) AS total > FROM yourtable > == Are you sure about the ' '? looks strange. > Then call the variable tot

Re: [Zope] how to accumulate data using ZPT

2005-05-20 Thread Hugo Ramos
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 <[EMAIL PROTECTED]> wrote: > I've this report wherein i've t

[Zope] how to accumulate data using ZPT

2005-05-20 Thread prabuddha ray
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