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 can help you
- Please keep your postings on the list, don't write to me directly
- I'm not the interested person, I was one of the guys answering the question
- This does not answer the original question that was about
accumulating the remaining values
- Using DTML as a procedural language to compute some values like
this, is not the recommended practice.
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
_______________________________________________
Zope maillist - [email protected]
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 )