Jump to content

Column total ?


Yammaski

Recommended Posts

When you display each row in the table I'd have a variable that you initiate at 0 and then add the contents of each row to it so that you have a total at the end.

Link to comment
Share on other sites

Before your loop that displays the table of dataGrandTotal = 0Inside the loop that displays the dataGrandTotal = GrandTotal + OrderTotalAt the bottom you can then display GrandTotal where ever you want to do so.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...