Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Sub reports - Supress when nothing to report Post Reply Post New Topic
Author Message
Jasey
Newbie
Newbie


Joined: 27 Aug 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Quote Jasey Replybullet Topic: Sub reports - Supress when nothing to report
    Posted: 28 Nov 2007 at 5:43am
OK.
 
I have a report that is printing several sub reports - some of which will have data - others will not (depending on which record is being reported on). Most of these sub reports are printing new pages before each of the sub reports.
 
I have already selected the option to supress blank sub reports on the Main report sections AND Supressed everything on the Sub report if the primary key for that subreport is null - I even tried deleting the line on the sub report (the only thing that couldn't be supressed.
 
No matter what I do I get a lovely blank page with the header and footer from the main report (even after removing all the "Print new page before" tick boxes on the Main report).
 
Using the included Crystal reports that came with Visual Studio 2003.
 
Anyone had similar problems that could save my PC going out of the window Ouch


Edited by Jasey - 28 Nov 2007 at 6:02am
IP IP Logged
Jasey
Newbie
Newbie


Joined: 27 Aug 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Quote Jasey Replybullet Posted: 04 Dec 2007 at 4:44am
Nobody Unhappy
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 04 Dec 2007 at 10:53am
Is your subreport in a section by itself, or are there other elements in the section with it?  I highly recommend putting it in a section by itself.  In the Section Expert, select Suppress Blank Section.  I think that you are successfully suppressing the subreport itself, but not the real estate it occupies on the report.


IP IP Logged
Jasey
Newbie
Newbie


Joined: 27 Aug 2007
Location: United Kingdom
Online Status: Offline
Posts: 11
Quote Jasey Replybullet Posted: 05 Dec 2007 at 6:24am
Thanks for the suggestion - unfortunately the sub report is on it's own in the section - I reckon this one's gonna have to go down as a bug.
 
We're looking to upgrade in the near future so I think I'll just have to fob off the client until then Wink
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.014 seconds.