Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Hiding Blank Data Fields Post Reply Post New Topic
Author Message
HVR-CSL
Newbie
Newbie
Avatar

Joined: 02 Apr 2008
Location: United Kingdom
Online Status: Offline
Posts: 2
Quote HVR-CSL Replybullet Topic: Hiding Blank Data Fields
    Posted: 02 Apr 2008 at 6:45am

Dear All,

 

I am a new user to CR currently running CR 9 but looking to upgrade is i can get what i need from the software.

 

I am having some difficulty hiding parts of the form that are un-populated, i was wondering if anyone knew how to hide fields and field headings when the field is not populated from the spreadsheet. If it is possible i would like to hide entire sections (ie "Details x") if a field within it is un-populated?

 

Any help would be much appreciated.

 

Regards,

IP IP Logged
andymc
Newbie
Newbie
Avatar

Joined: 17 Mar 2008
Location: United States
Online Status: Offline
Posts: 18
Quote andymc Replybullet Posted: 03 Apr 2008 at 7:58am
To hide a field (or field Heading), right-click the field, format feild, Common Tab.  Go into the x+2 button next to suppress and enter:
 
isnull{yourTable.yourField} or {yourTable.yourField} = ""
 
To hide a section, go into Section Expert, select the section on the left, Go into the x+2 button next to suppress and enter:
 
isnull{yourTable.yourField} or {yourTable.yourField} = ""
Andymc
IP IP Logged
agallo12
Newbie
Newbie


Joined: 21 Apr 2008
Online Status: Offline
Posts: 1
Quote agallo12 Replybullet Posted: 21 Apr 2008 at 3:24am
Hi Andymc,
 
Do you know the answer (or where i can find it) to the following problem?
 
I am trying to hide both Text Objects and DB Fields. I can use the supress formula but that seems to simply set the fields to be invisible. This leaves white-space in their place.
 
What I would like to do is 'compress' the fields if they are supressed, in the same way the section supress formula works.
 
Any help would be appreciated.
 
Adam
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.031 seconds.