17 Sep
2002
17 Sep
'02
6:48 p.m.
Michael Fox writes:
I have a dtml-in which lists both quantity and cost of items in my table.
I am generating the total for each item row like so -
<dtml-var expr="cost * qty" fmt="dollars-and-cents-with-commas">
What would be the practical approach to calculating the sum of all totals for each item here? The best way is to do it in a Python script.
If you really think you need to stay in DTML, you use "REQUEST.set". Search the mailing list archives for tons of examples... Dieter