Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Comparing a Group Sum to A Maximum Field Post Reply Post New Topic
Author Message
jsh8286
Groupie
Groupie
Avatar

Joined: 09 Mar 2012
Online Status: Offline
Posts: 46
Quote jsh8286 Replybullet Topic: Comparing a Group Sum to A Maximum Field
    Posted: 31 Oct 2014 at 2:26pm
I have a report where I have one field in the detail record in which I sum in the Group Footer field. I have another field in the detail record that I am inserting a summary but using the maximum option.

I want to compare these two numeric records in the group footer by using a formula where if the numbers do not equal I return a message of some sort indicating they are not equal but my "if then else" statement doesn't work. Maybe I am missing something obvious?

Is there a formula anyone can suggest where I compare these two values and if they aren't equal return a message in the formula indicating as such.

Thanks in advance for any suggestions.
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 02 Nov 2014 at 10:58pm
IF SUM({field},{GROUP_Field})<>MAXIMUM(({field},{GROUP_Field}) THEN
"SUM/MAXIMUM DO NOT MATCH"
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.047 seconds.