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

 Su total in a grid form

Print topic Send  topic

Author Message
alfi3000

Posts: 2
Posted: 05/20/2004, 11:23 AM

:-@

I'm lie down. I try to build sub and grand total into a grid with code charge studio 2 but i can't.

http://support.codecharge.com/kb_article.asp?article_id=57

Ken Hardwick give me example of code, but it just work with code charge and not with CCS2.

http://www.gotocode.com/art.asp?art_id=92&

Question : could you help me to make working this code with CCS2

thank a lot
View profile  Send private message
peterr


Posts: 5971
Posted: 05/20/2004, 12:12 PM

Refer to the "Simple Reporting" section of the CCS documentation / Help file.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Alfi
Posted: 05/20/2004, 12:34 PM

Thank Peter. I'm abble to make simple report with a genral total at the end of the grid and that is what I find into your documentation in help file.

In simple reporting I have nothing to help me to make sub total.

What I'm looking for is to make sub total for the price each time that category is changing and at the end of the grid to have the grand total

alfi
peterr


Posts: 5971
Posted: 05/20/2004, 12:55 PM

Our standard response is that "CCS is not a reporting tool". The more reporting features you need the more difficult it may be to implement, unless you obtain another tool specifically for reporting. CCS is no different in its capacity than Visual Basic, Visual Studio or other programming tools. They are great for application development but not for creating reports. You can search these forums to see what other people use for reporting.
We may add the reporting functionality in the future but currently there are no such features and the documentation covers only simple cases to help with the most basic reporting needs.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
darren166


Posts: 24
Posted: 05/21/2004, 3:19 AM

Create a variable outside the beforeshowrow event that holds the last category and another that holds a running total, then compare the current category to the last category in beforeshowrow and if it has changed display the running total as the category sub total and reset the running total to zero.

Darren.
_________________
---
a. w. d. - c o n s u l t i n g

Midnight Oil Consumers.
View profile  Send private message
computerforce_
Posted: 06/27/2004, 12:56 AM

Problem with "general total", Alfi mentioned, is that it works only for pages - means - it will present totals for each page, and not for complete grid - including all pages. The best solution is to make good query in MS Access, then to put it inside CCS.

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.