Re: [Zope] Re: Accumulate vars with dtml-var expr=...

2006-08-08 Thread Gabriel Genellina
At Tuesday 8/8/2006 15:53, mbr wrote: I made this in my report: dtml-call expr=REQUEST.set('accu',0) dtml-in aZSQLMethod dtml-call expr=REQUEST.set('accu', accu + fieldvalue) dtml-var fieldvalue dtml-var accu /dtml-in return this: VAL ACCU 15 15 20 35 18 53 hope it

[Zope] Re: Accumulate vars with dtml-var expr=...

2006-07-25 Thread Jesper Steen Steffensen
I have a table with a list of values. To list my values in a dtmlmethod i write dtml-var value inside the appropriate dtml-in tag. In the next column I have the dtml-var sequence-numberI want to accumulate my values so the result will be:Is it possible to make this accumulated value as adtml-var

Re: [Zope] Re: Accumulate vars with dtml-var expr=...

2006-07-25 Thread Gabriel Genellina
At Tuesday 25/7/2006 20:21, Jesper Steen Steffensen wrote: I have a table with a list of values. To list my values in a dtml method i write dtml-var value inside the appropriate dtml-in tag. In the next column I have the dtml-var sequence-number I want to accumulate my values so the result