Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Suppress Group Header when no details Post Reply Post New Topic
<< Prev Page  of 2
Author Message
phongtieutu
Newbie
Newbie
Avatar

Joined: 29 Oct 2012
Location: Vietnam
Online Status: Offline
Posts: 5
Quote phongtieutu Replybullet Posted: 29 Oct 2012 at 6:22pm
Hi everybody!
I'm a newbie and i met the same trouble in my reports
My group is grouped by KIND and detail suppress condition is: "({table.orderReq} <> 0) and ({table.orderSel} = 0)"
I want to suppress group header when all detail of a KIND were suppressed
Anybody can help me how to solve this??

Sorry because my Enlish nor well!
Thanks alot for any support


Edited by phongtieutu - 29 Oct 2012 at 6:22pm
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 30 Oct 2012 at 3:38am
create a formula to set a flag for the rows you want to count
//FlagCounter
if NOT({table.orderReq} <> 0) and ({table.orderSel} = 0) then 1
 
sum this at the group level
sum(@flagcounter,groupfield)
use this summary to suppress the group header
sum(@flagcounter,groupfield)=0
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.