Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: New Parameter Post Reply Post New Topic
Author Message
south
Groupie
Groupie


Joined: 31 Jul 2012
Online Status: Offline
Posts: 82
Quote south Replybullet Topic: New Parameter
     Posted: 08 Jul 2014 at 4:29am
I would like to create a parameter where the person can either choose to see the detail section of a report by choosing Yes or it defaults to No and suppresses the detail section.  I have set up parameters before but they usually involve values fields.
IP IP Logged
adavis
Senior Member
Senior Member


Joined: 30 Oct 2012
Online Status: Offline
Posts: 104
Quote adavis Replybullet Posted: 08 Jul 2014 at 4:52am
Create a new parameter "suppression settings" as a string.
In the value dialog enter two values: "show details" and "suppress details".
In your section expert, click the formula button next to the Suppress(no drill down) function and enter:
({?Suppression Setting})= "Suppress Details"


edit: you can obviously change the wording to your preferences.

Edited by adavis - 08 Jul 2014 at 4:54am
IP IP Logged
south
Groupie
Groupie


Joined: 31 Jul 2012
Online Status: Offline
Posts: 82
Quote south Replybullet Posted: 08 Jul 2014 at 5:20am
Works great, thank you!
IP IP Logged
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