CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Keeping A Running Total in Editable Grid

Print topic Send  topic

Author Message
afrausto

Posts: 66
Posted: 07/17/2006, 3:53 PM

Hello,

I'm using the current version of CCS/ASP and I'm trying to see if anyone has tried to keep a running total within an editable grid. I'm would like to show a list of grant applications in an editable grid where when I change the status for a record to 'Granted' it adds the amount that would be awarded into a running total at the top of the page. Of course, when you page between pages it should keep the running total as the status' are changed. Has anyone done something to this affect?

Thanks,
Albert
View profile  Send private message
WKempees
Posted: 07/17/2006, 5:25 PM

To give you directions:
In the before show of the grid, or the before show of the runningtotal
label, you will have to do a
CCDLookup("SUM(field)","tablename","status="Granted",Yourconnection)



afrausto

Posts: 66
Posted: 07/18/2006, 10:30 AM

Thanks for the suggestion.:-) I hadn't thought of that, but that would work as an option.

What I was hoping to accomplish is to have the running total change, in real-time as records status' are changed to"Granted". I'm thinking it would require java scripting to accomplish that, but with an editable grid it would be difficult to track individual status changes as one moves from page to page. Any thoughts anyone?

Thanks.
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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