?
Solved

How do I create an optional parameter in CR XI?

Posted on 2011-04-25
2
Medium Priority
?
495 Views
Last Modified: 2012-05-11
I created a boolean parameter and when It is "true", I want to pull only those records with a "1" in a certain field, but if it is "false", I want to pull all of the records.  The book I have talks about optional parameters, but I do not think that is an option in CR XI.
0
Comment
Question by:DDSchreck
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 35462834
Optional parameters were added in CR2008 (CR 12).  CR XI doesn't support them.

Create a parameter
In the selection formula use

If {?YourParameter} then
   {YourField} = '1'
else
   TRUE

mlmcc
0
 

Author Closing Comment

by:DDSchreck
ID: 35463920
Wow - thanks for the quick, accurate and very informative response.  Thanks!!!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question