Print Page | Close Window

Suppressing subreports within main reports

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=16664
Printed Date: 02 May 2024 at 11:58pm


Topic: Suppressing subreports within main reports
Posted By: Yosteevo777
Subject: Suppressing subreports within main reports
Date Posted: 04 Jun 2012 at 12:13pm
"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



Replies:
Posted By: lockwelle
Date Posted: 05 Jun 2012 at 3:23am
as related the last post, yes, it's possible.
 
depending on if 1 field drives multiple suppressions, you might want to set a shared variable and use that in the suppression because 1) it might make it easier to maintain 2) easier to read 3) I hate interrogating the same field multiple times (one would suppose that it would slow down the report)
 
HTH


Posted By: Yosteevo777
Date Posted: 05 Jun 2012 at 7:55am
Thanks lockwelle.

-------------
Stephen Waichulis
LIMS Database Administrator



Print Page | Close Window