Hi *, 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? Regards, Michael Fox Web Analyst/Programmer Century Software Ph: +612 9460 1422 Fax: +612 9460 3098 Email: michael@centurysoftware.com.au This E-mail from Century Software Pty Ltd expresses the views of the sender and not necessarily the views of the Company. The E-mail and any files transmitted with it are confidential to the intended recipient at the E-mail address to which it has been addressed. The E-mail may not be disclosed or used by any other than the addressee, nor may it be copied in any way. If you are not the intended recipient please contact the sender as soon as possible and delete any copies of this message. Please note that although this E-mail has been checked, we cannot accept any responsibility for any transmitted viruses. It is therefore your responsibility to virus scan attachments (if any).