Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: not display the record number Post Reply Post New Topic
Author Message
ansa
Newbie
Newbie


Joined: 25 Jul 2007
Location: United Kingdom
Online Status: Offline
Posts: 3
Quote ansa Replybullet Topic: not display the record number
    Posted: 13 Aug 2007 at 2:30am
My report is empty, but the record number displays (=1). I want that it disappear and displays when count of record > 0 only. Please, help me.
IP IP Logged
jkwrpc
Senior Member
Senior Member


Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
Quote jkwrpc Replybullet Posted: 14 Aug 2007 at 7:19am

If the record number is a report field you can conditionally suppress (hide) the field.  Right click on the field, go to Format Field, then the Common tab, Check Suppress then click on the Formula(X-2) button to the right. When the window opens enter

Count({datafield}) = 0;
 
This should suppress (hide) the field whenever there are not any records. Otherwise it will show. You of course will need to change the {datafield} to an appropriate field name.
 
Hope this helps.
 
Regards,
 
John W.
IP IP Logged
ansa
Newbie
Newbie


Joined: 25 Jul 2007
Location: United Kingdom
Online Status: Offline
Posts: 3
Quote ansa Replybullet Posted: 14 Aug 2007 at 8:16am
Oh, thanks. It's work!!!
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.