Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: show the group even with no details Post Reply Post New Topic
Author Message
carstowal
Groupie
Groupie


Joined: 31 Jul 2008
Online Status: Offline
Posts: 80
Quote carstowal Replybullet Topic: show the group even with no details
     Posted: 22 Jun 2009 at 9:32am
grouped on All_parts.Part_ID
All_parts.fab can either be Y or N
I want both (all)  types of parts to show as a group

But in the details
If All_parts.fab = "Y" then only show data where Req.Type = "M"

(there are no details for All_parts.fab = "N" because these parts aren't on the 'Req' table )

How do I put this into a select expert?

(IF {all_parts_.FAB} = "Y" then {REQ.TYPE} = "M" )
doesn't include the parts where  {all_parts_.FAB} = "N"
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 22 Jun 2009 at 9:46am

there are 2 diiferent appeaoches here. You can use formulas to conditionally suppress rows or you can exclude data whuich is what you are doing with the select expert. For that option I think you want :

{All_parts.fab} = "N" or ({All_parts.fab} = "Y" and {Req.Type} = "M")
IP IP Logged
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