Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Suppress Section Post Reply Post New Topic
Author Message
ts4525
Newbie
Newbie


Joined: 02 Nov 2011
Online Status: Offline
Posts: 2
Quote ts4525 Replybullet Topic: Suppress Section
    Posted: 02 Nov 2011 at 9:49am
I have a IFieldObject in my Detail section when the control is null I want to suppress the a label in my report header.  I added the following formula for the section: isnull({<TableName>.<ColumnName>}).  When I use this code the section is always suppressed.  If appears that when the report header is rendered the field is null which is why it is always suppressed.  The problem is if I put the field object in the same section as my label there is no value for the control the only time the field is populate is when it is sitting in the detail section.  So how can I pre-populate the control so that I can hide the label?
 
Layout is basically like this
 
%ReportHeader% - Notes:
%DetailSection%  -    <LIST ALL OF THE NOTES HERE>
 
If there are no notes hide the 'Notes:' label.
IP IP Logged
ts4525
Newbie
Newbie


Joined: 02 Nov 2011
Online Status: Offline
Posts: 2
Quote ts4525 Replybullet Posted: 02 Nov 2011 at 9:59am
I got it to work by suppressing null records.
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.