Print Page | Close Window

conditional suppressing - sections

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=945
Printed Date: 02 May 2025 at 12:17pm


Topic: conditional suppressing - sections
Posted By: swoops
Subject: conditional suppressing - sections
Date Posted: 29 Jun 2007 at 12:33pm
Hi,
 
I am struggling with suppressing a few sections on my report using conditions.
 
If I want to suppress a section unless the entity is ABC for example, I tried using
 
formula = Entity.Name <> ABC
 
I did this through the section expert, Should this not only show the section if the ENtity is ABC? It isn't working for this or other sections I've tried it with.
 
Please help! I have to finish this report in a couple hours and I am stressed!
 



Replies:
Posted By: swoops
Date Posted: 29 Jun 2007 at 12:36pm

sorry i meant to say i tried

formula = {entity.name} <> "ABC"

Waiting eagerly for a reply,
 
... thanks in advance.


Posted By: BrianBischof
Date Posted: 29 Jun 2007 at 1:33pm
I assume that you're using Basic syntax? Anyway, the formula looks fine. Something else must be going on behind the scenes that you aren't noticing.  To debug this, I would check to make sure you did the other steps correctly. For example, just go into the formula editor and put

formula = true

and make sure that this suppresses it. If not, figure out if you missed something or if something is overriding the value. Then go back and clean up the formula (although it looks fine to me).


-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window