Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Sum of a Max?
Author
Message
kgbo
Newbie
Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Topic: Sum of a Max?
Posted: 31 Jul 2013 at 10:41am
How would you take the sum of a max? In other words, how do you get a sum of a sum?
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 31 Jul 2013 at 11:57am
shared variables
IP Logged
kgbo
Newbie
Joined: 26 Jun 2013
Online Status: Offline
Posts: 30
Posted: 01 Aug 2013 at 3:04am
Could you expand?
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 01 Aug 2013 at 3:46am
3 formulas using shared numbervar x
//one to set the value to 0 in the report header
whileprintingrecords;
shared numbervar x;
x := 0;
//1 to add the max values in the group footer
whileprintingrecords;
shared numbervar x;
x := x + Maximum(field,group);
//1 to dispaly the final result in the report footer
whileprintingrecords;
shared numbervar x;
x
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
BAEZL
© 2004-2026 Brian Bischof. All Rights Reserved.