Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Suprres GH1 based on GF2 formula results Post Reply Post New Topic
<< Prev Page  of 2
Author Message
apuente
Newbie
Newbie
Avatar

Joined: 26 Nov 2012
Online Status: Offline
Posts: 15
Quote apuente Replybullet Posted: 08 Apr 2014 at 6:33am
the issue is that the evaluation to suppress the GH needs to be done at the Parts GF (GF2)
Thank You,
Antonio
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 Apr 2014 at 6:48am
that is how you are thinking about it.
If any record for the customer meets the date condition it means at least one of the groups also meets the condition which gets you the same result without convoluting the process.  
If all of your groups needed to meet the condition then my suggestion is not valid.
IP IP Logged
apuente
Newbie
Newbie
Avatar

Joined: 26 Nov 2012
Online Status: Offline
Posts: 15
Quote apuente Replybullet Posted: 08 Apr 2014 at 11:01am
I See what you are saying but wouldn't that be evaluating the max date for all parts? the problem is that the max date can be 5 days ago but that max date is for one part only. another part can have a max date from last year. not sure if im being confusing.

Edited by apuente - 08 Apr 2014 at 12:07pm
Thank You,
Antonio
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 08 Apr 2014 at 12:21pm
that would not be the max date for the group 1. The item with the largest date in any group 2, would be the max...as long as it is in the group 1.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Apr 2014 at 3:27am

I think you are trying to use the same condition for both suppression criteria, once at GH1 and once at GH2.

Make it simple and use the two different criteria to get to what you want.
Suppress GH1 as I was suggesting and GH2 using the max(date,item) criteria.
IP IP Logged
<< Prev Page  of 2
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.031 seconds.