Print Page | Close Window

Suppress the fields

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1006
Printed Date: 18 May 2024 at 4:44am


Topic: Suppress the fields
Posted By: satya089
Subject: Suppress the fields
Date Posted: 14 Jul 2007 at 6:48am
Hai,
           In my project there is requirement of suppressing the fields .
my requirement is  There will be four fields if first one  data is not there it should be suppressed else it should check for second .....
so please help out


-------------
satys



Replies:
Posted By: hilfy
Date Posted: 16 Jul 2007 at 11:29am

Do you mean suppress them in the report?  That will happen automatically when there's null data. 

Or do you mean suppress the "label" or "column header"?  In that case, right-click on the text object and select "Format Text".  On the Common tab, there's a "Suppress" checkbox - leave the checkbox unchecked, go to the right of the screen and click on the formula button.  In the formula put something like:
 
IsNull({table.field})
 
using the field whose data the label describes.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window