Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Help with Supressing Group Post Reply Post New Topic
Author Message
kkarsh
Newbie
Newbie


Joined: 18 Jul 2008
Online Status: Offline
Posts: 1
Quote kkarsh Replybullet Topic: Help with Supressing Group
    Posted: 18 Jul 2008 at 10:18am

Hello Everyone,

   I have a group based on table.desc with customized group name as follows:

if table.desc = ""
then "...."
else
REPLACE({table.desc},"Total ","")

   I have a suppress formula for Group Header as below:

 

{table.desc} = ""

OR {table.desc} = "SUBHEADER"

OR{ table.desc } = "Total Net Income"

or { table.desc } = "Total Unrealized Gain/Loss"

 

   I have fields in Group Footer, Whenever there is no data for {table.desc}="Unrealized Gain/Loss"(I mean if the entire row is 0) then I am suppressing the Group Footer section as below by having a formula for suppress property of Group Footer section:

(Sum ({@Act Amt CM Inc}, {table.desc}) = 0 and
Sum ({@Bud Amt CM Inc}, {table.desc}) = 0 and
Sum ({@Bud Var CM Inc}, {table.desc}) = 0 and
Sum ({@LY CM Inc}, {table.desc}) = 0 and
Sum ({@Act Amt YTD Inc}, {table.desc}) = 0 and
Sum ({@Bud Amt YTD Inc}, {table.desc}) = 0 and
Sum ({@Bud Var YTD Inc}, {table.desc}) = 0 and
Sum ({@LY YTD Inc}, {table.desc}) = 0)or
{table.desc} = "Unrealized Gain/Loss" or
{table.desc} = "" or
{table.desc} = "SUBHEADER"

   The problem is I still see the "Unrealized Gain/Loss" in the group tree even there is no data on report. How to suppress this in the group tree .

   I mean whenever there is no data for {table.desc}="Unrealized Gain/Loss" then I don't want to have it in the group tree.

   Please suggest how to resolve this. Any help is greatly appreciated.

 
Thanks in advance
 

 

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.