3 Sep
2002
3 Sep
'02
1:09 a.m.
Hi *, I have a dtml-in occurance, which returns several columns from a table, all of which are numeric values, but strings. Each is a different quantity of something, and I want to be able to display the total for each column. What I'm trying to get at is this... <dtml-in myZSQLMethod> <td> </td> <td><dtml-var qty1></td> <td><dtml-var qty2></td> <td><dtml-var qty3></td> <dtml-if sequence-end> <td>Total</td> <td>total for qty1</td> <td>total for qty2</td> <td>total for qty3</td> </dtml-if sequence-end> <dtml-in> My question is what logic do I use to calculate these totals? Cheers, Michael