Print Page | Close Window

Create a parameter that will suppress a subreport

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=16668
Printed Date: 06 May 2024 at 6:53am


Topic: Create a parameter that will suppress a subreport
Posted By: Yosteevo777
Subject: Create a parameter that will suppress a subreport
Date Posted: 04 Jun 2012 at 1:31pm
Is it possible to create a parameter in a main report that will suppress a subreport based on a yes or no answer?



Any Help on this will be Great!

Stephen


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



Replies:
Posted By: lockwelle
Date Posted: 05 Jun 2012 at 3:15am
sure.
create your parameter
then for the item, format object, x-2 across from suppress enter something like
{?parameter} = true  //or whatever value is suppress
 
HTH
 


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

that worked...


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



Print Page | Close Window