Print Page | Close Window

using running total

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21630
Printed Date: 27 Apr 2024 at 9:25am


Topic: using running total
Posted By: nagham_4ng
Subject: using running total
Date Posted: 04 Aug 2015 at 8:02pm
Hello all,

am using crystal report of .net2008, in my report I have a running total evaluated on each row, after loading the report I need the final value of this running total, so I was thinking since the report already did the calculation and it's reliable, why not just using it instead of recalculating it at form level.

So, is there any way after
 My_report.SetDataSource(My_ds);
 crystalviewer.REportDesig=My_report;


To read the final running total calculated my the report??
 



Replies:
Posted By: lockwelle
Date Posted: 14 Aug 2015 at 5:11am
Perhaps I misunderstand...
you run a report from an application, and then you would like the application to ask the report for the value of the running total, right?

I don't think that you can, though I have never tried. If you can figure out how to create a running total in code, I would guess that you can ask the report for the result...though I not entirely sure that my logic on this is correct...Afterall, Crystal doesn't give you much to work with when a report completes and is displayed.

Good luck.



Print Page | Close Window