CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Calculating Sums on several columns

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 01/15/2008, 12:24 PM

I'm doing something similar to the timesheet example in Example Pack 2. On there it has the total hours as a field, then the SUM function calculates that at the end of the report.

I have three rows of different hours: regular hours, overtime hours, other hours. At the end of my report, they are totaled up only by their respective column. I can't figure out how to total all three into one total at the end.
View profile  Send private message
Chris__T


Posts: 339
Posted: 01/23/2008, 12:21 PM

Duh, nevermind. I figured it out. Just add code in the 'before show' event and add the .values for each column sum in the totalsum field
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.