Crystal Reports XI – Moving Grand Totals for several different types and totals within a group in a subreport to the main report

5 pts.
Tags:
Crystal Reports
Crystal Reports Subreport
Crystal Reports XI
I have a subreport (Crystal Reports XI) that gives totals by a 'paytype' field (group), and I need to get a grand total $ of the different paytypes, and then move these grand totals by paytype, and corresponding paytype, to the main report.
ASKED: December 3, 2008  7:07 PM
UPDATED: January 8, 2009  6:53 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Crystal variables can have a “shared” scope that allows them to be shared between main reports and subreports. To pass the total calculated in the subreport back to the main report, you can declare that variable to be Shared in formulas in both the main and subreports.
After the subreport has executed for a group, you can use the value of that variable to augment a grand total variable that you keep in the main report.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following