Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: Suppressing subreports within main reports Post Reply Post New Topic
Author Message
Yosteevo777
Newbie
Newbie
Avatar

Joined: 23 Apr 2012
Location: United States
Online Status: Offline
Posts: 33
Quote Yosteevo777 Replybullet Topic: Suppressing subreports within main reports
    Posted: 04 Jun 2012 at 12:16pm
"Crystal Reports 2008 Experts"


Is it possible to suppress a subreport that is within a main report by using record selection formulas / booleans (true/false scenarios)?

For example:
If IsNull({database.field})
Then
True
Else
False


Any help would be great!
I'm trying to get around creating multiple customized reports for my department's needs.



Thanks

Stephen Waichulis
Stephen Waichulis
LIMS Database Administrator
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Jun 2012 at 3:51am

You might be able to but as to how depends on the specifics of your situation.

Are you suppressing based on data in the main report or the data in the subreport?
Where is the SR located in the MR?
If you can give more specifics someone should be able to give a more specific process.
 


Edited by DBlank - 05 Jun 2012 at 3:52am
IP IP Logged
Yosteevo777
Newbie
Newbie
Avatar

Joined: 23 Apr 2012
Location: United States
Online Status: Offline
Posts: 33
Quote Yosteevo777 Replybullet Posted: 05 Jun 2012 at 8:00am
Thanks DBlank.

I created parameters instead for users to choose specified subreports to run.

I configured the parameters as booleans and then set them up to suppress or not to suppress the subreports within the main report.

This was a better work around vs trying to apply the logic inside the subreport level. This still created lots of blank space which I did not want in the final report.




Edited by Yosteevo777 - 05 Jun 2012 at 8:00am
Stephen Waichulis
LIMS Database Administrator
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.