Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Grouping question Post Reply Post New Topic
Author Message
aldaoust
Newbie
Newbie


Joined: 21 Jul 2011
Location: Canada
Online Status: Offline
Posts: 1
Quote aldaoust Replybullet Topic: Grouping question
    Posted: 21 Jul 2011 at 7:23am
Hi,
 
I have created a report listing contracts our organization has secured with extrenal vendors.  The report lists Contract Number, Vendor Name ect.  We need to report these contracts on our website and I figured the best way was creating a Crystal report to fetch the information from our financial system.  My problem is that many of our contracts have different cost items (ex: software, maintenance agreements, shipping ...).  We are required to report on these contracts using the highest cost item dollar value.
 
For example, one contract might look like this:
 
Vendor        Contract #        Description        Cost Item $       Total $
ABC Corp    11-1500            Softwate            1500.00            4000.00
ABC Corp    11-1500            Maintenance       2000.00           4000.00
ABC Corp    11-1500            Shipping                500.00           4000.00
 
I don't need all 3 lines, I just need I just need to show line 2 (highest cost item dollar value).  What I did to get this is a group and added a summary (Maximum) for the Cost Item $.  The Vendor, Contract#, and Totals show up fine because the are the same in all 3 lines as well as the summary for the Cost Item $ but the Description shows Software (first one that shows upin the contract) when I need Maintenance to show up.  What formula (if any) could I use to get Maintenance to show up correctly as the Description in the Group? 
 
FYI, the Description field is a Formula Field and all others are Database fields.
 
 
Thanks for any help provided!  
IP IP Logged
sharona
Senior Member
Senior Member
Avatar

Joined: 16 Oct 2008
Location: United States
Online Status: Offline
Posts: 255
Quote sharona Replybullet Posted: 21 Jul 2011 at 9:32am
can you create a group by your maximum formula?
if not you can surpress in the section expert
if {$field}<>maximum($field} then true
sharona
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.016 seconds.