• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1100
  • Last Modified:

C3 Crystal Reports Format Section Events

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
0
MalcolMeyer
Asked:
MalcolMeyer
  • 3
1 Solution
 
topdog770Commented:
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?
0
 
MalcolMeyerAuthor Commented:
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.
0
 
topdog770Commented:
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
0
 
topdog770Commented:
mlmcc:

I offered a couple of ideas that should work, pending more information from MalcolMeyer.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now