Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: display empty columns in crosstab Post Reply Post New Topic
Author Message
swetha
Newbie
Newbie


Joined: 28 Apr 2010
Online Status: Offline
Posts: 2
Quote swetha Replybullet Topic: display empty columns in crosstab
    Posted: 28 Apr 2010 at 7:56pm
Hi,
I have created a crystal report which is having 3 groups group1,group2,group3 in group3 i have placed crosstab which displays the details according to startdate and enddate for that i have written a formula in report->section formula->record as {Record.Record Date} in {?StartDate} to {?EndDate}.
Everything is fine except if for some group there is no data in the range of startdate and enddate then it is not showing those dates. I want all the crosstab's to have all the columns from startdate to enddate and if data is not there then 0 should be displayed.
 
 
swetha
IP IP Logged
Annette
Newbie
Newbie


Joined: 25 Jul 2011
Online Status: Offline
Posts: 13
Quote Annette Replybullet Posted: 29 Jul 2011 at 2:07am
Hi,

Did you ever get this sorted as I'm having the exact same issue.

Thanks,

Annette
IP IP Logged
CircleD
Senior Member
Senior Member
Avatar

Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Quote CircleD Replybullet Posted: 29 Jul 2011 at 1:10pm
I'm admittedly not real good with formulas but this should work.

If isNull({Record.Record Date}," ") = 0 then "0"
end If
IP IP Logged
Annette
Newbie
Newbie


Joined: 25 Jul 2011
Online Status: Offline
Posts: 13
Quote Annette Replybullet Posted: 01 Aug 2011 at 1:44am
Thanks, I think I got it through a similar formula but I will keep this in case it doesn't work. Thanks very much for your reply
IP IP Logged
Annette
Newbie
Newbie


Joined: 25 Jul 2011
Online Status: Offline
Posts: 13
Quote Annette Replybullet Posted: 11 Aug 2011 at 1:53am
Hi,

I did get my formula to work but now the crosstab is printing a blank row for items that are not covered in my formula, would you know how to suppress this. I've tried suppressing empty rows but this isn't working.

Thanks in advance
Annette
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.