C3 Crystal Reports Format Section Events

Posted on 2007-11-27
Medium Priority
Last Modified: 2013-11-26
Can you give me some code example(s)  of how I can programmatically access a report total the Format Section Events of  a Crystal Report in a C# application
Question by:MalcolMeyer
  • 3
LVL 12

Expert Comment

ID: 20358950
If you haven't already seen it, this http://www.codeproject.com/useritems/CrystalHelper.asp does a decent job of demonstrating how to access and manipulate the inner components of a crystal report.

I'm missing what you meant by "I can programmatically access a report total the Format Section Events of  a Crystal Report in a C# application" , what are you wanting to do?

Author Comment

ID: 20363461
I have a crystal report thet prints a Value column. At The bottom of each page it prints a Total of these values as a Page Total. I want to have access to the Total Value when it is gettting printed, and the Page Number and write these to an XML File  At the end of the report, I want to bind the XML file to a sub report and print all the Page Totals.
LVL 12

Accepted Solution

topdog770 earned 2000 total points
ID: 20366175
It may be possible to do exactly what you are wanting, but there are several approaches:

1) Create a dataset or xml file ahead of time that does all of the calculations ahead of time and then pass in the dataset/xml file to the report.

2) Create global variables in the report that store the totals from each page and then display them in the report footer
3) If I recall correctly, you can do summaries of summaries
LVL 12

Expert Comment

ID: 20561992

I offered a couple of ideas that should work, pending more information from MalcolMeyer.

Expert Comment

ID: 20633990
Forced accept.

EE Admin

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question